From 0788c36bd2f5105bf3f0155faa4a3255ba3a921b Mon Sep 17 00:00:00 2001 From: Polianin Nikita Date: Fri, 25 Oct 2024 04:42:27 +0300 Subject: [PATCH] style: remove "id" from text --- SqlData/Application/Common/Exceptions/NotFoundException.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/SqlData/Application/Common/Exceptions/NotFoundException.cs b/SqlData/Application/Common/Exceptions/NotFoundException.cs index c310b74..419c2ad 100644 --- a/SqlData/Application/Common/Exceptions/NotFoundException.cs +++ b/SqlData/Application/Common/Exceptions/NotFoundException.cs @@ -5,6 +5,6 @@ namespace Mirea.Api.DataAccess.Application.Common.Exceptions; public class NotFoundException : Exception { - public NotFoundException(MemberInfo entity, string name, object id) : base($"The entity \"{entity.Name}\" property \"{name}\" was not found by id \"{id}\".") { } - public NotFoundException(MemberInfo entity, object id) : base($"The entity \"{entity.Name}\" was not found by id \"{id}\".") { } + public NotFoundException(MemberInfo entity, string name, object id) : base($"The entity \"{entity.Name}\" property \"{name}\" was not found by \"{id}\".") { } + public NotFoundException(MemberInfo entity, object id) : base($"The entity \"{entity.Name}\" was not found by \"{id}\".") { } } \ No newline at end of file