Fixed namespaces

This commit is contained in:
2024-08-21 16:43:25 +03:00
parent a0d002b465
commit f857ba90f8
8 changed files with 10 additions and 10 deletions

View File

@@ -1,6 +1,6 @@
using Domains;
namespace Infrastructure.Database.GeneralExceptions;
namespace ApplicationLayer.Services.GeneralExceptions;
/// Exception to throw when entity not found
/// <param name="id">Identifier of entity</param>

View File

@@ -1,7 +1,7 @@
using ApplicationLayer.GeneralExceptions;
using Domains;
namespace Infrastructure.Database.GeneralExceptions;
namespace ApplicationLayer.Services.GeneralExceptions;
/// Exception to throw when entity not found
/// <typeparam name="T">Not found entity type</typeparam>

View File

@@ -1,6 +1,6 @@
using ApplicationLayer.GeneralExceptions;
namespace Infrastructure.Database.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);

View File

@@ -1,4 +1,4 @@
using Infrastructure.Database.GeneralExceptions;
using ApplicationLayer.Services.GeneralExceptions;
namespace ApplicationLayer.Services.Locations.RequestHandlers.Exceptions
{

View File

@@ -1,5 +1,5 @@
using Domains.LocationDomain;
using Infrastructure.Database.GeneralExceptions;
using ApplicationLayer.Services.GeneralExceptions;
using Domains.LocationDomain;
namespace ApplicationLayer.Services.Locations.RequestHandlers.Exceptions
{