Files
schengen-visa/SchengenVisaApi/ApplicationLayer/Services/GeneralExceptions/EntityUsedInDatabaseException.cs
2024-08-21 16:43:25 +03:00

8 lines
321 B
C#

using ApplicationLayer.GeneralExceptions;
namespace ApplicationLayer.Services.GeneralExceptions
{
/// Exception to throw when can't complete some action on entity(delete or something) because it's needed for other entities
public class EntityUsedInDatabaseException(string message) : ApiException(message);
}