server cleanup

This commit is contained in:
hamid
2026-06-16 01:46:53 +03:30
parent 69bbd28bb0
commit 5b4c0d183f
205 changed files with 641 additions and 628 deletions
@@ -18,9 +18,9 @@
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\..\Infrastructure\CleanArc.Infrastructure.Monitoring\CleanArc.Infrastructure.Monitoring.csproj" />
<ProjectReference Include="..\CleanArc.WebFramework\CleanArc.WebFramework.csproj" />
<ProjectReference Include="..\Plugins\CleanArc.Web.Plugins.Grpc\CleanArc.Web.Plugins.Grpc.csproj" />
<ProjectReference Include="..\..\Infrastructure\Baya.Infrastructure.Monitoring\Baya.Infrastructure.Monitoring.csproj" />
<ProjectReference Include="..\Baya.WebFramework\Baya.WebFramework.csproj" />
<ProjectReference Include="..\Plugins\Baya.Web.Plugins.Grpc\Baya.Web.Plugins.Grpc.csproj" />
</ItemGroup>
</Project>
@@ -1,14 +1,14 @@
using Asp.Versioning;
using CleanArc.Application.Features.Admin.Commands.AddAdminCommand;
using CleanArc.Application.Features.Admin.Queries.GetToken;
using CleanArc.Application.Models.Jwt;
using CleanArc.WebFramework.Attributes;
using CleanArc.WebFramework.BaseController;
using Baya.Application.Features.Admin.Commands.AddAdminCommand;
using Baya.Application.Features.Admin.Queries.GetToken;
using Baya.Application.Models.Jwt;
using Baya.WebFramework.Attributes;
using Baya.WebFramework.BaseController;
using Mediator;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
namespace CleanArc.Web.Api.Controllers.V1.Admin
namespace Baya.Web.Api.Controllers.V1.Admin
{
[ApiVersion("1")]
[ApiController]
@@ -1,14 +1,14 @@
using CleanArc.Infrastructure.Identity.Identity.PermissionManager;
using Baya.Infrastructure.Identity.Identity.PermissionManager;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
using System.ComponentModel.DataAnnotations;
using Asp.Versioning;
using CleanArc.Application.Features.Order.Queries.GetAllOrders;
using CleanArc.WebFramework.Attributes;
using CleanArc.WebFramework.BaseController;
using Baya.Application.Features.Order.Queries.GetAllOrders;
using Baya.WebFramework.Attributes;
using Baya.WebFramework.BaseController;
using Mediator;
namespace CleanArc.Web.Api.Controllers.V1.Admin
namespace Baya.Web.Api.Controllers.V1.Admin
{
[ApiVersion("1")]
[ApiController]
@@ -1,17 +1,17 @@
using System.ComponentModel.DataAnnotations;
using Asp.Versioning;
using CleanArc.Application.Features.Role.Commands.AddRoleCommand;
using CleanArc.Application.Features.Role.Commands.UpdateRoleClaimsCommand;
using CleanArc.Application.Features.Role.Queries.GetAllRolesQuery;
using CleanArc.Application.Features.Role.Queries.GetAuthorizableRoutesQuery;
using CleanArc.Infrastructure.Identity.Identity.PermissionManager;
using CleanArc.WebFramework.Attributes;
using CleanArc.WebFramework.BaseController;
using Baya.Application.Features.Role.Commands.AddRoleCommand;
using Baya.Application.Features.Role.Commands.UpdateRoleClaimsCommand;
using Baya.Application.Features.Role.Queries.GetAllRolesQuery;
using Baya.Application.Features.Role.Queries.GetAuthorizableRoutesQuery;
using Baya.Infrastructure.Identity.Identity.PermissionManager;
using Baya.WebFramework.Attributes;
using Baya.WebFramework.BaseController;
using Mediator;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
namespace CleanArc.Web.Api.Controllers.V1.Admin
namespace Baya.Web.Api.Controllers.V1.Admin
{
[ApiVersion("1")]
[ApiController]
@@ -1,14 +1,14 @@
using CleanArc.Infrastructure.Identity.Identity.PermissionManager;
using Baya.Infrastructure.Identity.Identity.PermissionManager;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
using System.ComponentModel.DataAnnotations;
using Asp.Versioning;
using CleanArc.Application.Features.Users.Queries.GetUsers;
using CleanArc.WebFramework.Attributes;
using CleanArc.WebFramework.BaseController;
using Baya.Application.Features.Users.Queries.GetUsers;
using Baya.WebFramework.Attributes;
using Baya.WebFramework.BaseController;
using Mediator;
namespace CleanArc.Web.Api.Controllers.V1.Admin
namespace Baya.Web.Api.Controllers.V1.Admin
{
[ApiVersion("1")]
[ApiController]
@@ -1,13 +1,13 @@
using Asp.Versioning;
using CleanArc.Application.Features.Order.Commands;
using CleanArc.Application.Features.Order.Queries.GetUserOrders;
using CleanArc.WebFramework.Attributes;
using CleanArc.WebFramework.BaseController;
using Baya.Application.Features.Order.Commands;
using Baya.Application.Features.Order.Queries.GetUserOrders;
using Baya.WebFramework.Attributes;
using Baya.WebFramework.BaseController;
using Mediator;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
namespace CleanArc.Web.Api.Controllers.V1.Order;
namespace Baya.Web.Api.Controllers.V1.Order;
[ApiVersion("1")]
[ApiController]
@@ -1,20 +1,20 @@
using Asp.Versioning;
using CleanArc.Application.Features.Users.Commands.Create;
using CleanArc.Application.Features.Users.Commands.RefreshUserTokenCommand;
using CleanArc.Application.Features.Users.Commands.RequestLogout;
using CleanArc.Application.Features.Users.Queries.GenerateUserToken;
using CleanArc.Application.Features.Users.Queries.TokenRequest;
using CleanArc.Application.Models.Jwt;
using CleanArc.WebFramework.Attributes;
using CleanArc.WebFramework.BaseController;
using CleanArc.WebFramework.Swagger;
using Baya.Application.Features.Users.Commands.Create;
using Baya.Application.Features.Users.Commands.RefreshUserTokenCommand;
using Baya.Application.Features.Users.Commands.RequestLogout;
using Baya.Application.Features.Users.Queries.GenerateUserToken;
using Baya.Application.Features.Users.Queries.TokenRequest;
using Baya.Application.Models.Jwt;
using Baya.WebFramework.Attributes;
using Baya.WebFramework.BaseController;
using Baya.WebFramework.Swagger;
using Mediator;
using Microsoft.AspNetCore.Authentication;
using Microsoft.AspNetCore.Authentication.JwtBearer;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
namespace CleanArc.Web.Api.Controllers.V1.UserManagement;
namespace Baya.Web.Api.Controllers.V1.UserManagement;
[ApiVersion("1")]
[ApiController]
@@ -1,22 +1,22 @@
using System.Diagnostics;
using CleanArc.Application.Features.Users.Commands.Create;
using CleanArc.Application.Models.ApiResult;
using CleanArc.Application.Models.Identity;
using CleanArc.Application.ServiceConfiguration;
using CleanArc.Domain.Entities.User;
using CleanArc.Infrastructure.CrossCutting.Logging;
using CleanArc.Infrastructure.Identity.Identity.Dtos;
using CleanArc.Infrastructure.Identity.Jwt;
using CleanArc.Infrastructure.Identity.ServiceConfiguration;
using CleanArc.Infrastructure.Monitoring.Configurations;
using CleanArc.Infrastructure.Persistence.ServiceConfiguration;
using CleanArc.SharedKernel.Extensions;
using CleanArc.Web.Api.Controllers.V1.UserManagement;
using CleanArc.Web.Plugins.Grpc;
using CleanArc.WebFramework.Filters;
using CleanArc.WebFramework.Middlewares;
using CleanArc.WebFramework.ServiceConfiguration;
using CleanArc.WebFramework.Swagger;
using Baya.Application.Features.Users.Commands.Create;
using Baya.Application.Models.ApiResult;
using Baya.Application.Models.Identity;
using Baya.Application.ServiceConfiguration;
using Baya.Domain.Entities.User;
using Baya.Infrastructure.CrossCutting.Logging;
using Baya.Infrastructure.Identity.Identity.Dtos;
using Baya.Infrastructure.Identity.Jwt;
using Baya.Infrastructure.Identity.ServiceConfiguration;
using Baya.Infrastructure.Monitoring.Configurations;
using Baya.Infrastructure.Persistence.ServiceConfiguration;
using Baya.SharedKernel.Extensions;
using Baya.Web.Api.Controllers.V1.UserManagement;
using Baya.Web.Plugins.Grpc;
using Baya.WebFramework.Filters;
using Baya.WebFramework.Middlewares;
using Baya.WebFramework.ServiceConfiguration;
using Baya.WebFramework.Swagger;
using Mapster;
using Microsoft.AspNetCore.Mvc;
using Serilog;
@@ -1,6 +1,6 @@
{
"ConnectionStrings": {
"SqlServer": "Data Source=localhost;Initial Catalog=CleanArc_DB_8_0;Integrated Security=true;Encrypt=False"
"SqlServer": "Data Source=localhost;Initial Catalog=Baya_DB_8_0;Integrated Security=true;Encrypt=False"
},
"Logging": {
"LogLevel": {
@@ -1,7 +1,7 @@
{
"ConnectionStrings": {
"SqlServer": "Server=sql_server2022;Database=CleanArc_DB_Docker;User Id=SA;Password=A&VeryComplex123Password;MultipleActiveResultSets=true;encrypt=false",
"logDb": "Server=sql_server2022;Database=CleanArc_Log_DB_Docker;User Id=SA;Password=A&VeryComplex123Password;MultipleActiveResultSets=true;encrypt=false"
"SqlServer": "Server=sql_server2022;Database=Baya_DB_Docker;User Id=SA;Password=A&VeryComplex123Password;MultipleActiveResultSets=true;encrypt=false",
"logDb": "Server=sql_server2022;Database=Baya_Log_DB_Docker;User Id=SA;Password=A&VeryComplex123Password;MultipleActiveResultSets=true;encrypt=false"
},
"IdentitySettings": {
"SecretKey": "ShouldBe-LongerThan-16Char-SecretKey",
@@ -1,8 +1,8 @@
using CleanArc.Application.Models.ApiResult;
using Baya.Application.Models.ApiResult;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
namespace CleanArc.WebFramework.Attributes;
namespace Baya.WebFramework.Attributes;
/// <summary>
/// Documents the 200 OK response type of endpoint as ApiResult
@@ -1,10 +1,10 @@
using System.Security.Claims;
using CleanArc.Application.Models.Common;
using CleanArc.SharedKernel.Extensions;
using CleanArc.WebFramework.Filters;
using Baya.Application.Models.Common;
using Baya.SharedKernel.Extensions;
using Baya.WebFramework.Filters;
using Microsoft.AspNetCore.Mvc;
namespace CleanArc.WebFramework.BaseController;
namespace Baya.WebFramework.BaseController;
public class BaseController : ControllerBase
{
@@ -14,10 +14,10 @@
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\..\Core\CleanArc.Application\CleanArc.Application.csproj" />
<ProjectReference Include="..\..\Infrastructure\CleanArc.Infrastructure.CrossCutting\CleanArc.Infrastructure.CrossCutting.csproj" />
<ProjectReference Include="..\..\Infrastructure\CleanArc.Infrastructure.Identity\CleanArc.Infrastructure.Identity.csproj" />
<ProjectReference Include="..\..\Infrastructure\CleanArc.Infrastructure.Persistence\CleanArc.Infrastructure.Persistence.csproj" />
<ProjectReference Include="..\..\Core\Baya.Application\Baya.Application.csproj" />
<ProjectReference Include="..\..\Infrastructure\Baya.Infrastructure.CrossCutting\Baya.Infrastructure.CrossCutting.csproj" />
<ProjectReference Include="..\..\Infrastructure\Baya.Infrastructure.Identity\Baya.Infrastructure.Identity.csproj" />
<ProjectReference Include="..\..\Infrastructure\Baya.Infrastructure.Persistence\Baya.Infrastructure.Persistence.csproj" />
</ItemGroup>
</Project>
@@ -1,7 +1,7 @@
using CleanArc.Application.Models.ApiResult;
using Baya.Application.Models.ApiResult;
using Microsoft.AspNetCore.Http;
namespace CleanArc.WebFramework.EndpointFilters;
namespace Baya.WebFramework.EndpointFilters;
public class BadRequestResultEndpointFilter:IEndpointFilter
{
@@ -1,7 +1,7 @@
using FluentValidation;
using Microsoft.AspNetCore.Http;
namespace CleanArc.WebFramework.EndpointFilters;
namespace Baya.WebFramework.EndpointFilters;
public class ModelStateValidationEndpointFilter:IEndpointFilter
{
@@ -1,7 +1,7 @@
using CleanArc.Application.Models.ApiResult;
using Baya.Application.Models.ApiResult;
using Microsoft.AspNetCore.Http;
namespace CleanArc.WebFramework.EndpointFilters;
namespace Baya.WebFramework.EndpointFilters;
public class NotFoundResultEndpointFilter:IEndpointFilter
{
@@ -1,7 +1,7 @@
using CleanArc.Application.Models.ApiResult;
using Baya.Application.Models.ApiResult;
using Microsoft.AspNetCore.Http;
namespace CleanArc.WebFramework.EndpointFilters;
namespace Baya.WebFramework.EndpointFilters;
public class OkResultEndpointFilter:IEndpointFilter
{
@@ -1,9 +1,9 @@
using CleanArc.Application.Models.ApiResult;
using Baya.Application.Models.ApiResult;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.Filters;
namespace CleanArc.WebFramework.Filters;
namespace Baya.WebFramework.Filters;
[Obsolete(message:"Separated filters added")]
public class ApiResultFilterAttribute : ResultFilterAttribute
@@ -1,10 +1,10 @@
using CleanArc.Application.Models.ApiResult;
using CleanArc.SharedKernel.Extensions;
using Baya.Application.Models.ApiResult;
using Baya.SharedKernel.Extensions;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.Filters;
namespace CleanArc.WebFramework.Filters;
namespace Baya.WebFramework.Filters;
public class BadRequestResultFilterAttribute : ActionFilterAttribute
{
@@ -1,8 +1,8 @@
using CleanArc.Application.Models.ApiResult;
using Baya.Application.Models.ApiResult;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.Filters;
namespace CleanArc.WebFramework.Filters;
namespace Baya.WebFramework.Filters;
public class ContentResultFilterAttribute : ResultFilterAttribute
{
@@ -1,11 +1,11 @@
using CleanArc.Application.Models.ApiResult;
using CleanArc.SharedKernel.Extensions;
using Baya.Application.Models.ApiResult;
using Baya.SharedKernel.Extensions;
using FluentValidation;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.Filters;
using StatusCodes = Microsoft.AspNetCore.Http.StatusCodes;
namespace CleanArc.WebFramework.Filters;
namespace Baya.WebFramework.Filters;
public class ModelStateValidationAttribute : ActionFilterAttribute
{
@@ -1,9 +1,9 @@
using CleanArc.Application.Models.ApiResult;
using Baya.Application.Models.ApiResult;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.Filters;
namespace CleanArc.WebFramework.Filters;
namespace Baya.WebFramework.Filters;
public class NotFoundResultAttribute : ResultFilterAttribute
{
@@ -1,8 +1,8 @@
using CleanArc.Application.Models.ApiResult;
using Baya.Application.Models.ApiResult;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.Filters;
namespace CleanArc.WebFramework.Filters;
namespace Baya.WebFramework.Filters;
public class OkResultAttribute:ResultFilterAttribute
{
@@ -1,8 +1,8 @@
using CleanArc.Application.Models.ApiResult;
using Baya.Application.Models.ApiResult;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
namespace CleanArc.WebFramework.Filters;
namespace Baya.WebFramework.Filters;
public class ServerErrorResult:IActionResult
{
@@ -1,12 +1,12 @@
using CleanArc.Application.Models.ApiResult;
using Baya.Application.Models.ApiResult;
using Microsoft.AspNetCore.Diagnostics;
using Microsoft.AspNetCore.Http;
using CleanArc.SharedKernel.Extensions;
using Baya.SharedKernel.Extensions;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Hosting;
using Microsoft.Extensions.Logging;
namespace CleanArc.WebFramework.Middlewares;
namespace Baya.WebFramework.Middlewares;
public class ExceptionHandler(ILogger<ExceptionHandler> logger,IWebHostEnvironment environment) : IExceptionHandler
{
@@ -1,7 +1,7 @@
using Asp.Versioning;
using Microsoft.Extensions.DependencyInjection;
namespace CleanArc.WebFramework.ServiceConfiguration;
namespace Baya.WebFramework.ServiceConfiguration;
public static class ServiceCollectionExtension
{
@@ -1,8 +1,8 @@
using CleanArc.SharedKernel.Extensions;
using Baya.SharedKernel.Extensions;
using NSwag.Generation.Processors;
using NSwag.Generation.Processors.Contexts;
namespace CleanArc.WebFramework.Swagger;
namespace Baya.WebFramework.Swagger;
public class ApiVersionDocumentProcessor: IDocumentProcessor
{
@@ -3,7 +3,7 @@ using NSwag.Generation.Processors.Contexts;
using Pluralize.NET;
namespace CleanArc.WebFramework.Swagger;
namespace Baya.WebFramework.Swagger;
public class ApplySummariesOperationFilter : IOperationProcessor
{
@@ -3,7 +3,7 @@ using NSwag.Generation.Processors;
using NSwag.Generation.Processors.Contexts;
namespace CleanArc.WebFramework.Swagger;
namespace Baya.WebFramework.Swagger;
public class CustomTokenRequiredOperationFilter : IOperationProcessor
{
@@ -1,4 +1,4 @@
namespace CleanArc.WebFramework.Swagger;
namespace Baya.WebFramework.Swagger;
/// <summary>
@@ -4,7 +4,7 @@ using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using NSwag;
namespace CleanArc.WebFramework.Swagger;
namespace Baya.WebFramework.Swagger;
public static class SwaggerConfigurationExtensions
{
@@ -11,7 +11,7 @@
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\..\..\Core\CleanArc.Application\CleanArc.Application.csproj" />
<ProjectReference Include="..\..\..\Core\Baya.Application\Baya.Application.csproj" />
</ItemGroup>
<ItemGroup>
@@ -1,9 +1,9 @@
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Http;
using Microsoft.Extensions.DependencyInjection;
using CleanArc.Web.Plugins.Grpc.Services;
using Baya.Web.Plugins.Grpc.Services;
namespace CleanArc.Web.Plugins.Grpc;
namespace Baya.Web.Plugins.Grpc;
public static class GrpcPluginStartup
{
@@ -1,6 +1,6 @@
syntax = "proto3";
option csharp_namespace = "CleanArc.Web.Plugins.Grpc.ProtoModels";
option csharp_namespace = "Baya.Web.Plugins.Grpc.ProtoModels";
import "google/protobuf/empty.proto";
package GrpcOrderController;
@@ -1,7 +1,7 @@

syntax = "proto3";
option csharp_namespace = "CleanArc.Web.Plugins.Grpc.ProtoModels";
option csharp_namespace = "Baya.Web.Plugins.Grpc.ProtoModels";
package GrpcUserController;
@@ -1,12 +1,12 @@
using CleanArc.Application.Features.Order.Queries.GetUserOrders;
using CleanArc.SharedKernel.Extensions;
using CleanArc.Web.Plugins.Grpc.ProtoModels;
using Baya.Application.Features.Order.Queries.GetUserOrders;
using Baya.SharedKernel.Extensions;
using Baya.Web.Plugins.Grpc.ProtoModels;
using Google.Protobuf.WellKnownTypes;
using Grpc.Core;
using Mediator;
using Microsoft.AspNetCore.Authorization;
namespace CleanArc.Web.Plugins.Grpc.Services
namespace Baya.Web.Plugins.Grpc.Services
{
[Authorize]
public class OrderGrpcServices:OrderServices.OrderServicesBase
@@ -1,10 +1,10 @@
using CleanArc.Application.Features.Users.Queries.GenerateUserToken;
using CleanArc.Application.Features.Users.Queries.TokenRequest;
using CleanArc.Web.Plugins.Grpc.ProtoModels;
using Baya.Application.Features.Users.Queries.GenerateUserToken;
using Baya.Application.Features.Users.Queries.TokenRequest;
using Baya.Web.Plugins.Grpc.ProtoModels;
using Grpc.Core;
using Mediator;
namespace CleanArc.Web.Plugins.Grpc.Services;
namespace Baya.Web.Plugins.Grpc.Services;
public class UserGrpcServices : UserServices.UserServicesBase
{
@@ -11,7 +11,7 @@
<None Remove="Common\ValidationBase\**" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\CleanArc.Domain\CleanArc.Domain.csproj" />
<ProjectReference Include="..\Baya.Domain\Baya.Domain.csproj" />
<PackageReference Include="Mediator.SourceGenerator">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
@@ -1,8 +1,8 @@
using CleanArc.Application.Models.Common;
using Baya.Application.Models.Common;
using Mediator;
using Microsoft.Extensions.Logging;
namespace CleanArc.Application.Common;
namespace Baya.Application.Common;
public class LoggingBehavior<TRequest, TResponse>(ILogger<LoggingBehavior<TRequest, TResponse>> logger)
: IPipelineBehavior<TRequest, TResponse>
@@ -2,7 +2,7 @@
using System.Diagnostics.Metrics;
using Mediator;
namespace CleanArc.Application.Common;
namespace Baya.Application.Common;
public class MetricsBehaviour<TRequest, TResponse> :
IPipelineBehavior<TRequest, TResponse> where TRequest : IRequest<TResponse>
@@ -1,9 +1,9 @@
using CleanArc.Application.Models.Common;
using Baya.Application.Models.Common;
using FluentValidation;
using FluentValidation.Results;
using Mediator;
namespace CleanArc.Application.Common;
namespace Baya.Application.Common;
public class ValidateCommandBehavior<TRequest, TResponse>(IEnumerable<IValidator<TRequest>> validators)
: IPipelineBehavior<TRequest, TResponse>
@@ -1,8 +1,8 @@
using System.Security.Claims;
using CleanArc.Application.Models.Jwt;
using CleanArc.Domain.Entities.User;
using Baya.Application.Models.Jwt;
using Baya.Domain.Entities.User;
namespace CleanArc.Application.Contracts;
namespace Baya.Application.Contracts;
public interface IJwtService
{
@@ -1,7 +1,7 @@
using CleanArc.Domain.Entities.User;
using Baya.Domain.Entities.User;
using Microsoft.AspNetCore.Identity;
namespace CleanArc.Application.Contracts.Identity;
namespace Baya.Application.Contracts.Identity;
public interface IAppUserManager
{
@@ -1,8 +1,8 @@
using CleanArc.Application.Models.Identity;
using CleanArc.Domain.Entities.User;
using Baya.Application.Models.Identity;
using Baya.Domain.Entities.User;
using Microsoft.AspNetCore.Identity;
namespace CleanArc.Application.Contracts.Identity;
namespace Baya.Application.Contracts.Identity;
public interface IRoleManagerService
{
@@ -1,6 +1,6 @@
using CleanArc.Domain.Entities.Order;
using Baya.Domain.Entities.Order;
namespace CleanArc.Application.Contracts.Persistence;
namespace Baya.Application.Contracts.Persistence;
public interface IOrderRepository
{
@@ -1,4 +1,4 @@
namespace CleanArc.Application.Contracts.Persistence;
namespace Baya.Application.Contracts.Persistence;
public interface IUnitOfWork
{
@@ -1,6 +1,6 @@
using CleanArc.Domain.Entities.User;
using Baya.Domain.Entities.User;
namespace CleanArc.Application.Contracts.Persistence;
namespace Baya.Application.Contracts.Persistence;
public interface IUserRefreshTokenRepository
{
@@ -1,10 +1,10 @@
using CleanArc.Application.Contracts.Identity;
using CleanArc.Application.Models.Common;
using CleanArc.Domain.Entities.User;
using CleanArc.SharedKernel.Extensions;
using Baya.Application.Contracts.Identity;
using Baya.Application.Models.Common;
using Baya.Domain.Entities.User;
using Baya.SharedKernel.Extensions;
using Mediator;
namespace CleanArc.Application.Features.Admin.Commands.AddAdminCommand
namespace Baya.Application.Features.Admin.Commands.AddAdminCommand
{
internal class AddAdminCommandHandler:IRequestHandler<AddAdminCommand,OperationResult<bool>>
{
@@ -1,10 +1,10 @@
using CleanArc.Application.Models.Common;
using CleanArc.SharedKernel.ValidationBase;
using CleanArc.SharedKernel.ValidationBase.Contracts;
using Baya.Application.Models.Common;
using Baya.SharedKernel.ValidationBase;
using Baya.SharedKernel.ValidationBase.Contracts;
using FluentValidation;
using Mediator;
namespace CleanArc.Application.Features.Admin.Commands.AddAdminCommand;
namespace Baya.Application.Features.Admin.Commands.AddAdminCommand;
public record AddAdminCommand
(string UserName, string Email, string Password, int RoleId) : IRequest<OperationResult<bool>>,
@@ -1,10 +1,10 @@
using CleanArc.Application.Contracts;
using CleanArc.Application.Contracts.Identity;
using CleanArc.Application.Models.Common;
using CleanArc.Application.Models.Jwt;
using Baya.Application.Contracts;
using Baya.Application.Contracts.Identity;
using Baya.Application.Models.Common;
using Baya.Application.Models.Jwt;
using Mediator;
namespace CleanArc.Application.Features.Admin.Queries.GetToken;
namespace Baya.Application.Features.Admin.Queries.GetToken;
public class AdminGetTokenQueryHandler:IRequestHandler<AdminGetTokenQuery,OperationResult<AdminGetTokenQueryResult>>
{
@@ -0,0 +1,5 @@
using Baya.Application.Models.Jwt;
namespace Baya.Application.Features.Admin.Queries.GetToken;
public record AdminGetTokenQueryResult(AccessToken Token,string[] Roles);
@@ -1,11 +1,11 @@
using CleanArc.Application.Models.Common;
using CleanArc.Application.Models.Jwt;
using CleanArc.SharedKernel.ValidationBase;
using CleanArc.SharedKernel.ValidationBase.Contracts;
using Baya.Application.Models.Common;
using Baya.Application.Models.Jwt;
using Baya.SharedKernel.ValidationBase;
using Baya.SharedKernel.ValidationBase.Contracts;
using FluentValidation;
using Mediator;
namespace CleanArc.Application.Features.Admin.Queries.GetToken;
namespace Baya.Application.Features.Admin.Queries.GetToken;
public record AdminGetTokenQuery(string UserName, string Password) : IRequest<OperationResult<AdminGetTokenQueryResult>>,
IValidatableModel<AdminGetTokenQuery>
@@ -1,9 +1,9 @@
using CleanArc.Application.Contracts.Identity;
using CleanArc.Application.Contracts.Persistence;
using CleanArc.Application.Models.Common;
using Baya.Application.Contracts.Identity;
using Baya.Application.Contracts.Persistence;
using Baya.Application.Models.Common;
using Mediator;
namespace CleanArc.Application.Features.Order.Commands;
namespace Baya.Application.Features.Order.Commands;
internal class AddOrderCommandHandler(IUnitOfWork unitOfWork, IAppUserManager userManager)
: IRequestHandler<AddOrderCommand, OperationResult<bool>>
@@ -1,11 +1,11 @@
using System.Text.Json.Serialization;
using CleanArc.Application.Models.Common;
using CleanArc.SharedKernel.ValidationBase;
using CleanArc.SharedKernel.ValidationBase.Contracts;
using Baya.Application.Models.Common;
using Baya.SharedKernel.ValidationBase;
using Baya.SharedKernel.ValidationBase.Contracts;
using FluentValidation;
using Mediator;
namespace CleanArc.Application.Features.Order.Commands;
namespace Baya.Application.Features.Order.Commands;
public record AddOrderCommand( string OrderName) : IRequest<OperationResult<bool>>,
IValidatableModel<AddOrderCommand>
@@ -1,8 +1,8 @@
using CleanArc.Application.Contracts.Persistence;
using CleanArc.Application.Models.Common;
using Baya.Application.Contracts.Persistence;
using Baya.Application.Models.Common;
using Mediator;
namespace CleanArc.Application.Features.Order.Commands;
namespace Baya.Application.Features.Order.Commands;
public class DeleteUserOrdersCommandHandler(IUnitOfWork unitOfWork) : IRequestHandler<DeleteUserOrdersCommand,OperationResult<bool>>
{
@@ -0,0 +1,6 @@
using Baya.Application.Models.Common;
using Mediator;
namespace Baya.Application.Features.Order.Commands;
public record DeleteUserOrdersCommand(int UserId):IRequest<OperationResult<bool>>;
@@ -1,8 +1,8 @@
using CleanArc.Application.Contracts.Persistence;
using CleanArc.Application.Models.Common;
using Baya.Application.Contracts.Persistence;
using Baya.Application.Models.Common;
using Mediator;
namespace CleanArc.Application.Features.Order.Commands;
namespace Baya.Application.Features.Order.Commands;
public class UpdateUserOrderCommandHandler(IUnitOfWork unitOfWork) : IRequestHandler<UpdateUserOrderCommand,OperationResult<bool>>
{
@@ -1,11 +1,11 @@
using System.Text.Json.Serialization;
using CleanArc.Application.Models.Common;
using CleanArc.SharedKernel.ValidationBase;
using CleanArc.SharedKernel.ValidationBase.Contracts;
using Baya.Application.Models.Common;
using Baya.SharedKernel.ValidationBase;
using Baya.SharedKernel.ValidationBase.Contracts;
using FluentValidation;
using Mediator;
namespace CleanArc.Application.Features.Order.Commands;
namespace Baya.Application.Features.Order.Commands;
public record UpdateUserOrderCommand
(int OrderId, string OrderName) : IRequest<OperationResult<bool>>,IValidatableModel<UpdateUserOrderCommand>
@@ -0,0 +1,6 @@
using Baya.Application.Models.Common;
using Mediator;
namespace Baya.Application.Features.Order.Queries.GetAllOrders;
public record GetAllOrdersQuery():IRequest<OperationResult<List<GetAllOrdersQueryResult>>>;
@@ -1,9 +1,9 @@
using CleanArc.Application.Contracts.Persistence;
using CleanArc.Application.Models.Common;
using Baya.Application.Contracts.Persistence;
using Baya.Application.Models.Common;
using MapsterMapper;
using Mediator;
namespace CleanArc.Application.Features.Order.Queries.GetAllOrders
namespace Baya.Application.Features.Order.Queries.GetAllOrders
{
internal class GetAllOrdersQueryHandler(IUnitOfWork unitOfWork, IMapper mapper)
: IRequestHandler<GetAllOrdersQuery, OperationResult<List<GetAllOrdersQueryResult>>>
@@ -2,7 +2,7 @@
using Mapster;
namespace CleanArc.Application.Features.Order.Queries.GetAllOrders;
namespace Baya.Application.Features.Order.Queries.GetAllOrders;
public record GetAllOrdersQueryResult(int OrderId, string OrderName, int OrderOwnerId, string OrderOwnerUserName);
@@ -1,8 +1,8 @@
using CleanArc.Application.Contracts.Persistence;
using CleanArc.Application.Models.Common;
using Baya.Application.Contracts.Persistence;
using Baya.Application.Models.Common;
using Mediator;
namespace CleanArc.Application.Features.Order.Queries.GetUserOrders;
namespace Baya.Application.Features.Order.Queries.GetUserOrders;
internal class GetUserOrdersQueryHandler(IUnitOfWork unitOfWork)
: IRequestHandler<GetUserOrdersQueryModel, OperationResult<List<GetUsersQueryResultModel>>>
@@ -1,6 +1,6 @@
using CleanArc.Application.Models.Common;
using Baya.Application.Models.Common;
using Mediator;
namespace CleanArc.Application.Features.Order.Queries.GetUserOrders;
namespace Baya.Application.Features.Order.Queries.GetUserOrders;
public record GetUserOrdersQueryModel(int UserId) : IRequest<OperationResult<List<GetUsersQueryResultModel>>>;
@@ -0,0 +1,3 @@
namespace Baya.Application.Features.Order.Queries.GetUserOrders;
public record GetUsersQueryResultModel(int OrderId, string OrderName);
@@ -1,9 +1,9 @@
using CleanArc.Application.Contracts.Identity;
using CleanArc.Application.Models.Common;
using CleanArc.Application.Models.Identity;
using Baya.Application.Contracts.Identity;
using Baya.Application.Models.Common;
using Baya.Application.Models.Identity;
using Mediator;
namespace CleanArc.Application.Features.Role.Commands.AddRoleCommand
namespace Baya.Application.Features.Role.Commands.AddRoleCommand
{
internal class AddRoleCommandHandler(IRoleManagerService roleManagerService)
: IRequestHandler<AddRoleCommand, OperationResult<bool>>
@@ -1,10 +1,10 @@
using CleanArc.Application.Models.Common;
using CleanArc.SharedKernel.ValidationBase;
using CleanArc.SharedKernel.ValidationBase.Contracts;
using Baya.Application.Models.Common;
using Baya.SharedKernel.ValidationBase;
using Baya.SharedKernel.ValidationBase.Contracts;
using FluentValidation;
using Mediator;
namespace CleanArc.Application.Features.Role.Commands.AddRoleCommand;
namespace Baya.Application.Features.Role.Commands.AddRoleCommand;
public record AddRoleCommand(string RoleName) : IRequest<OperationResult<bool>>,
IValidatableModel<AddRoleCommand>
@@ -1,9 +1,9 @@
using CleanArc.Application.Contracts.Identity;
using CleanArc.Application.Models.Common;
using CleanArc.Application.Models.Identity;
using Baya.Application.Contracts.Identity;
using Baya.Application.Models.Common;
using Baya.Application.Models.Identity;
using Mediator;
namespace CleanArc.Application.Features.Role.Commands.UpdateRoleClaimsCommand
namespace Baya.Application.Features.Role.Commands.UpdateRoleClaimsCommand
{
internal class UpdateRoleClaimsCommandHandler(IRoleManagerService roleManagerService)
: IRequestHandler<UpdateRoleClaimsCommand, OperationResult<bool>>
@@ -1,7 +1,7 @@

using CleanArc.Application.Models.Common;
using Baya.Application.Models.Common;
using Mediator;
namespace CleanArc.Application.Features.Role.Commands.UpdateRoleClaimsCommand;
namespace Baya.Application.Features.Role.Commands.UpdateRoleClaimsCommand;
public record UpdateRoleClaimsCommand( int RoleId, List<string> RoleClaimValue):IRequest<OperationResult<bool>>;
@@ -1,8 +1,8 @@
using CleanArc.Application.Contracts.Identity;
using CleanArc.Application.Models.Common;
using Baya.Application.Contracts.Identity;
using Baya.Application.Models.Common;
using Mediator;
namespace CleanArc.Application.Features.Role.Queries.GetAllRolesQuery
namespace Baya.Application.Features.Role.Queries.GetAllRolesQuery
{
internal class GetAllRolesQueryHandler(IRoleManagerService roleManagerService)
: IRequestHandler<GetAllRolesQuery, OperationResult<List<GetAllRolesQueryResponse>>>
@@ -0,0 +1,3 @@
namespace Baya.Application.Features.Role.Queries.GetAllRolesQuery;
public record GetAllRolesQueryResponse(int RoleId,string RoleName);
@@ -0,0 +1,6 @@
using Baya.Application.Models.Common;
using Mediator;
namespace Baya.Application.Features.Role.Queries.GetAllRolesQuery;
public record GetAllRolesQuery():IRequest<OperationResult<List<GetAllRolesQueryResponse>>>;
@@ -1,8 +1,8 @@
using CleanArc.Application.Contracts.Identity;
using CleanArc.Application.Models.Common;
using Baya.Application.Contracts.Identity;
using Baya.Application.Models.Common;
using Mediator;
namespace CleanArc.Application.Features.Role.Queries.GetAuthorizableRoutesQuery
namespace Baya.Application.Features.Role.Queries.GetAuthorizableRoutesQuery
{
internal class GetAuthorizableRoutesQueryHandler(IRoleManagerService roleManagerService)
: IRequestHandler<GetAuthorizableRoutesQuery, OperationResult<List<GetAuthorizableRoutesQueryResponse>>>
@@ -1,3 +1,3 @@
namespace CleanArc.Application.Features.Role.Queries.GetAuthorizableRoutesQuery;
namespace Baya.Application.Features.Role.Queries.GetAuthorizableRoutesQuery;
public record GetAuthorizableRoutesQueryResponse(string RouteKey,string AreaName,string ControllerName,string ActionName,string ControllerDescription);
@@ -1,6 +1,6 @@
using CleanArc.Application.Models.Common;
using Baya.Application.Models.Common;
using Mediator;
namespace CleanArc.Application.Features.Role.Queries.GetAuthorizableRoutesQuery;
namespace Baya.Application.Features.Role.Queries.GetAuthorizableRoutesQuery;
public record GetAuthorizableRoutesQuery():IRequest<OperationResult<List<GetAuthorizableRoutesQueryResponse>>>;
@@ -1,11 +1,11 @@
using CleanArc.Application.Contracts.Identity;
using CleanArc.Application.Models.Common;
using CleanArc.Domain.Entities.User;
using Baya.Application.Contracts.Identity;
using Baya.Application.Models.Common;
using Baya.Domain.Entities.User;
using MapsterMapper;
using Mediator;
using Microsoft.Extensions.Logging;
namespace CleanArc.Application.Features.Users.Commands.Create;
namespace Baya.Application.Features.Users.Commands.Create;
internal class UserCreateCommandHandler(
IAppUserManager userManager,
@@ -1,4 +1,4 @@
namespace CleanArc.Application.Features.Users.Commands.Create;
namespace Baya.Application.Features.Users.Commands.Create;
public class UserCreateCommandResult
{
@@ -1,12 +1,12 @@
using System.Text.RegularExpressions;
using CleanArc.Application.Models.Common;
using CleanArc.Domain.Entities.User;
using CleanArc.SharedKernel.ValidationBase;
using CleanArc.SharedKernel.ValidationBase.Contracts;
using Baya.Application.Models.Common;
using Baya.Domain.Entities.User;
using Baya.SharedKernel.ValidationBase;
using Baya.SharedKernel.ValidationBase.Contracts;
using FluentValidation;
using Mediator;
namespace CleanArc.Application.Features.Users.Commands.Create;
namespace Baya.Application.Features.Users.Commands.Create;
public record UserCreateCommand
(string UserName, string Name, string FamilyName, string PhoneNumber,string Password,string RepeatPassword)
@@ -1,9 +1,9 @@
using CleanArc.Application.Contracts;
using CleanArc.Application.Models.Common;
using CleanArc.Application.Models.Jwt;
using Baya.Application.Contracts;
using Baya.Application.Models.Common;
using Baya.Application.Models.Jwt;
using Mediator;
namespace CleanArc.Application.Features.Users.Commands.RefreshUserTokenCommand
namespace Baya.Application.Features.Users.Commands.RefreshUserTokenCommand
{
internal class RefreshUserTokenCommandHandler(IJwtService jwtService)
: IRequestHandler<RefreshUserTokenCommand, OperationResult<AccessToken>>
@@ -1,11 +1,11 @@
using CleanArc.Application.Models.Common;
using CleanArc.Application.Models.Jwt;
using CleanArc.SharedKernel.ValidationBase;
using CleanArc.SharedKernel.ValidationBase.Contracts;
using Baya.Application.Models.Common;
using Baya.Application.Models.Jwt;
using Baya.SharedKernel.ValidationBase;
using Baya.SharedKernel.ValidationBase.Contracts;
using FluentValidation;
using Mediator;
namespace CleanArc.Application.Features.Users.Commands.RefreshUserTokenCommand;
namespace Baya.Application.Features.Users.Commands.RefreshUserTokenCommand;
public record RefreshUserTokenCommand(Guid RefreshToken) : IRequest<OperationResult<AccessToken>>,
IValidatableModel<RefreshUserTokenCommand>
@@ -1,8 +1,8 @@
using CleanArc.Application.Contracts.Identity;
using CleanArc.Application.Models.Common;
using Baya.Application.Contracts.Identity;
using Baya.Application.Models.Common;
using Mediator;
namespace CleanArc.Application.Features.Users.Commands.RequestLogout
namespace Baya.Application.Features.Users.Commands.RequestLogout
{
internal class RequestLogoutCommandHandler(IAppUserManager userManager)
: IRequestHandler<RequestLogoutCommand, OperationResult<bool>>
@@ -0,0 +1,6 @@
using Baya.Application.Models.Common;
using Mediator;
namespace Baya.Application.Features.Users.Commands.RequestLogout;
public record RequestLogoutCommand(int UserId):IRequest<OperationResult<bool>>;
@@ -1,11 +1,11 @@
using CleanArc.Application.Contracts;
using CleanArc.Application.Contracts.Identity;
using CleanArc.Application.Models.Common;
using CleanArc.Application.Models.Jwt;
using CleanArc.SharedKernel.Extensions;
using Baya.Application.Contracts;
using Baya.Application.Contracts.Identity;
using Baya.Application.Models.Common;
using Baya.Application.Models.Jwt;
using Baya.SharedKernel.Extensions;
using Mediator;
namespace CleanArc.Application.Features.Users.Queries.GenerateUserToken;
namespace Baya.Application.Features.Users.Queries.GenerateUserToken;
internal class GenerateUserTokenQueryHandler(IJwtService jwtService, IAppUserManager userManager)
: IRequestHandler<GenerateUserTokenQuery, OperationResult<AccessToken>>
@@ -1,11 +1,11 @@
using CleanArc.Application.Models.Common;
using CleanArc.Application.Models.Jwt;
using CleanArc.SharedKernel.ValidationBase;
using CleanArc.SharedKernel.ValidationBase.Contracts;
using Baya.Application.Models.Common;
using Baya.Application.Models.Jwt;
using Baya.SharedKernel.ValidationBase;
using Baya.SharedKernel.ValidationBase.Contracts;
using FluentValidation;
using Mediator;
namespace CleanArc.Application.Features.Users.Queries.GenerateUserToken;
namespace Baya.Application.Features.Users.Queries.GenerateUserToken;
public record GenerateUserTokenQuery(string UserKey, string Code) : IRequest<OperationResult<AccessToken>>,
IValidatableModel<GenerateUserTokenQuery>
@@ -1,10 +1,10 @@
using CleanArc.Application.Contracts.Identity;
using CleanArc.Application.Models.Common;
using CleanArc.Domain.Entities.User;
using Baya.Application.Contracts.Identity;
using Baya.Application.Models.Common;
using Baya.Domain.Entities.User;
using MapsterMapper;
using Mediator;
namespace CleanArc.Application.Features.Users.Queries.GetUsers;
namespace Baya.Application.Features.Users.Queries.GetUsers;
internal class GetUsersQueryHandler(IAppUserManager userManager, IMapper mapper)
: IRequestHandler<GetUsersQuery, OperationResult<List<GetUsersQueryResponse>>>
@@ -1,7 +1,7 @@

using CleanArc.Domain.Entities.User;
using Baya.Domain.Entities.User;
namespace CleanArc.Application.Features.Users.Queries.GetUsers;
namespace Baya.Application.Features.Users.Queries.GetUsers;
public record GetUsersQueryResponse
{
@@ -0,0 +1,6 @@
using Baya.Application.Models.Common;
using Mediator;
namespace Baya.Application.Features.Users.Queries.GetUsers;
public record GetUsersQuery : IRequest<OperationResult<List<GetUsersQueryResponse>>>;
@@ -1,10 +1,10 @@
using CleanArc.Application.Contracts;
using CleanArc.Application.Contracts.Identity;
using CleanArc.Application.Models.Common;
using CleanArc.Application.Models.Jwt;
using Baya.Application.Contracts;
using Baya.Application.Contracts.Identity;
using Baya.Application.Models.Common;
using Baya.Application.Models.Jwt;
using Mediator;
namespace CleanArc.Application.Features.Users.Queries.TokenRequest;
namespace Baya.Application.Features.Users.Queries.TokenRequest;
public class PasswordUserTokenRequestQueryResult
(IAppUserManager userManager,IJwtService jwtService)
@@ -1,11 +1,11 @@
using CleanArc.Application.Models.Common;
using CleanArc.Application.Models.Jwt;
using CleanArc.SharedKernel.ValidationBase;
using CleanArc.SharedKernel.ValidationBase.Contracts;
using Baya.Application.Models.Common;
using Baya.Application.Models.Jwt;
using Baya.SharedKernel.ValidationBase;
using Baya.SharedKernel.ValidationBase.Contracts;
using FluentValidation;
using Mediator;
namespace CleanArc.Application.Features.Users.Queries.TokenRequest;
namespace Baya.Application.Features.Users.Queries.TokenRequest;
public record PasswordUserTokenRequestQuery
(string UserName,string Password)
@@ -1,9 +1,9 @@
using CleanArc.Application.Contracts.Identity;
using CleanArc.Application.Models.Common;
using Baya.Application.Contracts.Identity;
using Baya.Application.Models.Common;
using Mediator;
using Microsoft.Extensions.Logging;
namespace CleanArc.Application.Features.Users.Queries.TokenRequest;
namespace Baya.Application.Features.Users.Queries.TokenRequest;
public class UserTokenRequestQueryHandler(
IAppUserManager userManager,
@@ -1,4 +1,4 @@
namespace CleanArc.Application.Features.Users.Queries.TokenRequest;
namespace Baya.Application.Features.Users.Queries.TokenRequest;
public class UserTokenRequestQueryResponse
{
@@ -1,11 +1,11 @@
using CleanArc.Application.Models.Common;
using CleanArc.SharedKernel.ValidationBase;
using CleanArc.SharedKernel.ValidationBase.Contracts;
using Baya.Application.Models.Common;
using Baya.SharedKernel.ValidationBase;
using Baya.SharedKernel.ValidationBase.Contracts;
using FluentValidation;
using Mediator;
using System.Text.RegularExpressions;
namespace CleanArc.Application.Features.Users.Queries.TokenRequest;
namespace Baya.Application.Features.Users.Queries.TokenRequest;
public record UserTokenRequestQuery(string UserPhoneNumber) : IRequest<OperationResult<UserTokenRequestQueryResponse>>,
IValidatableModel<UserTokenRequestQuery>
@@ -1,7 +1,7 @@
using System.Diagnostics;
using CleanArc.SharedKernel.Extensions;
using Baya.SharedKernel.Extensions;
namespace CleanArc.Application.Models.ApiResult;
namespace Baya.Application.Models.ApiResult;
public class ApiResult
{
@@ -1,6 +1,6 @@
using System.ComponentModel.DataAnnotations;
namespace CleanArc.Application.Models.ApiResult;
namespace Baya.Application.Models.ApiResult;
public enum ApiResultStatusCode
{
@@ -1,4 +1,4 @@
namespace CleanArc.Application.Models.Common;
namespace Baya.Application.Models.Common;
/// <summary>
/// Marker Interface To Mark Operation Result Response In Validation Pipeline
@@ -1,4 +1,4 @@
namespace CleanArc.Application.Models.Identity;
namespace Baya.Application.Models.Identity;
public class ActionDescriptionDto
{
@@ -1,4 +1,4 @@
namespace CleanArc.Application.Models.Identity;
namespace Baya.Application.Models.Identity;
public class CreateRoleDto
{
@@ -1,4 +1,4 @@
namespace CleanArc.Application.Models.Identity;
namespace Baya.Application.Models.Identity;
public class EditRolePermissionsDto
{
@@ -1,6 +1,6 @@
using CleanArc.Domain.Entities.User;
using Baya.Domain.Entities.User;
namespace CleanArc.Application.Models.Identity;
namespace Baya.Application.Models.Identity;
public class GetRolesDto
{
@@ -1,6 +1,6 @@
using CleanArc.Domain.Entities.User;
using Baya.Domain.Entities.User;
namespace CleanArc.Application.Models.Identity;
namespace Baya.Application.Models.Identity;
public class RolePermissionDto
{

Some files were not shown because too many files have changed in this diff Show More