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; using Domains;
namespace Infrastructure.Database.GeneralExceptions; namespace ApplicationLayer.Services.GeneralExceptions;
/// Exception to throw when entity not found /// Exception to throw when entity not found
/// <param name="id">Identifier of entity</param> /// <param name="id">Identifier of entity</param>

View File

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

View File

@@ -1,6 +1,6 @@
using ApplicationLayer.GeneralExceptions; 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 /// 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); 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 namespace ApplicationLayer.Services.Locations.RequestHandlers.Exceptions
{ {

View File

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

View File

@@ -1,5 +1,5 @@
using Domains.ApplicantDomain; using ApplicationLayer.Services.GeneralExceptions;
using Infrastructure.Database.GeneralExceptions; using Domains.ApplicantDomain;
namespace Infrastructure.Database.Applicants.Repositories.Exceptions namespace Infrastructure.Database.Applicants.Repositories.Exceptions
{ {

View File

@@ -1,6 +1,6 @@
using ApplicationLayer.InfrastructureServicesInterfaces; using ApplicationLayer.InfrastructureServicesInterfaces;
using ApplicationLayer.Services.GeneralExceptions;
using Domains; using Domains;
using Infrastructure.Database.GeneralExceptions;
using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore;
namespace Infrastructure.Database.Generic; namespace Infrastructure.Database.Generic;

View File

@@ -1,8 +1,8 @@
using ApplicationLayer.GeneralExceptions; using ApplicationLayer.GeneralExceptions;
using ApplicationLayer.Services.AuthServices.LoginService.Exceptions; using ApplicationLayer.Services.AuthServices.LoginService.Exceptions;
using ApplicationLayer.Services.GeneralExceptions;
using ApplicationLayer.Services.Locations.RequestHandlers.Exceptions; using ApplicationLayer.Services.Locations.RequestHandlers.Exceptions;
using Domains; using Domains;
using Infrastructure.Database.GeneralExceptions;
using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.Filters; using Microsoft.AspNetCore.Mvc.Filters;