Files
schengen-visa/SchengenVisaApi/ApplicationLayer/Services/GeneralExceptions/EntityNotFoundException.cs
2024-08-20 21:34:56 +03:00

10 lines
328 B
C#

using ApplicationLayer.GeneralExceptions;
using Domains;
namespace Infrastructure.Database.GeneralExceptions;
/// Exception to throw when entity not found
/// <typeparam name="T">Not found entity type</typeparam>
public class EntityNotFoundException<T>(string message) : ApiException(message)
where T : class, IEntity;