Fixed namespaces
This commit is contained in:
@@ -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>
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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);
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
using Infrastructure.Database.GeneralExceptions;
|
||||
using ApplicationLayer.Services.GeneralExceptions;
|
||||
|
||||
namespace ApplicationLayer.Services.Locations.RequestHandlers.Exceptions
|
||||
{
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
using Domains.LocationDomain;
|
||||
using Infrastructure.Database.GeneralExceptions;
|
||||
using ApplicationLayer.Services.GeneralExceptions;
|
||||
using Domains.LocationDomain;
|
||||
|
||||
namespace ApplicationLayer.Services.Locations.RequestHandlers.Exceptions
|
||||
{
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
using Domains.ApplicantDomain;
|
||||
using Infrastructure.Database.GeneralExceptions;
|
||||
using ApplicationLayer.Services.GeneralExceptions;
|
||||
using Domains.ApplicantDomain;
|
||||
|
||||
namespace Infrastructure.Database.Applicants.Repositories.Exceptions
|
||||
{
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
using ApplicationLayer.InfrastructureServicesInterfaces;
|
||||
using ApplicationLayer.Services.GeneralExceptions;
|
||||
using Domains;
|
||||
using Infrastructure.Database.GeneralExceptions;
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
|
||||
namespace Infrastructure.Database.Generic;
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
using ApplicationLayer.GeneralExceptions;
|
||||
using ApplicationLayer.Services.AuthServices.LoginService.Exceptions;
|
||||
using ApplicationLayer.Services.GeneralExceptions;
|
||||
using ApplicationLayer.Services.Locations.RequestHandlers.Exceptions;
|
||||
using Domains;
|
||||
using Infrastructure.Database.GeneralExceptions;
|
||||
using Microsoft.AspNetCore.Mvc;
|
||||
using Microsoft.AspNetCore.Mvc.Filters;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user