Add queries #8

Merged
Wesser merged 9 commits from feat/application-query into release/v1.0.0 2024-02-16 22:56:02 +03:00
Showing only changes of commit f25c815506 - Show all commits

View File

@ -0,0 +1,10 @@
using System.Reflection;
using System;
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}\".") { }
}