Fixed namespaces
This commit is contained in:
		| @@ -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> | ||||||
|   | |||||||
| @@ -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> | ||||||
|   | |||||||
| @@ -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); | ||||||
|   | |||||||
| @@ -1,4 +1,4 @@ | |||||||
| using Infrastructure.Database.GeneralExceptions; | using ApplicationLayer.Services.GeneralExceptions; | ||||||
|  |  | ||||||
| namespace ApplicationLayer.Services.Locations.RequestHandlers.Exceptions | namespace ApplicationLayer.Services.Locations.RequestHandlers.Exceptions | ||||||
| { | { | ||||||
|   | |||||||
| @@ -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 | ||||||
| { | { | ||||||
|   | |||||||
| @@ -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 | ||||||
| { | { | ||||||
|   | |||||||
| @@ -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; | ||||||
|   | |||||||
| @@ -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; | ||||||
|  |  | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user