├── .gitignore ├── Manager.sln ├── README.md └── src ├── .vscode ├── launch.json └── tasks.json ├── 1 - Manager.API ├── Controllers │ ├── AuthController.cs │ ├── BaseController.cs │ └── UserController.cs ├── Manager.API.csproj ├── Middlewares │ └── ExceptionHandlerMiddleware.cs ├── Program.cs ├── Properties │ └── launchSettings.json ├── Startup.cs ├── Token │ ├── ITokenService.cs │ └── TokenService.cs ├── Utilities │ └── Responses.cs ├── ViewModels │ ├── CreateUserViewModel.cs │ ├── LoginViewModel.cs │ ├── ResultViewModel.cs │ └── UpdateUserViewModel.cs ├── appsettings.Development.json └── appsettings.json ├── 2 - Manager.Domain ├── Entities │ ├── Base.cs │ └── User.cs ├── Manager.Domain.csproj └── Validators │ └── UserValidator.cs ├── 3 - Manager.Services ├── DTO │ └── UserDTO.cs ├── Interfaces │ └── IUserService.cs ├── Manager.Services.csproj └── Services │ └── UserService.cs ├── 4 - Manager.Infra ├── Context │ └── ManagerContext.cs ├── Interfaces │ ├── IBaseRepository.cs │ └── IUserRepository.cs ├── Manager.Infra.csproj ├── Mappings │ └── UserMap.cs ├── Migrations │ ├── 20201231061725_InitialMigration.Designer.cs │ ├── 20201231061725_InitialMigration.cs │ ├── 20201231062142_UpdateNameLength.Designer.cs │ ├── 20201231062142_UpdateNameLength.cs │ ├── 20201231062353_UpdateNameLength2.Designer.cs │ ├── 20201231062353_UpdateNameLength2.cs │ ├── 20201231062529_UpdateNameLengthToLessCharacters.Designer.cs │ ├── 20201231062529_UpdateNameLengthToLessCharacters.cs │ ├── 20201231062551_UpdateNameLengthToLessCharacters2.Designer.cs │ ├── 20201231062551_UpdateNameLengthToLessCharacters2.cs │ ├── 20210301044804_UpdatePasswordLenght.Designer.cs │ ├── 20210301044804_UpdatePasswordLenght.cs │ └── ManagerContextModelSnapshot.cs └── Repositories │ ├── BaseRepository.cs │ └── UserRepository.cs ├── 5 - Manager.Core ├── Communication │ ├── Handlers │ │ └── DomainNotificationHandler.cs │ ├── Mediator │ │ ├── Interfaces │ │ │ └── IMediatorHandler.cs │ │ └── MediatorHandler.cs │ └── Messages │ │ └── Notifications │ │ ├── DomainNotification.cs │ │ └── Notification.cs ├── Enum │ └── DomainNotificationType.cs ├── Manager.Core.csproj ├── Structs │ └── Optional.cs └── Validations │ └── Message │ └── ErrorMessages.cs └── 6 - Manager.Tests ├── Configurations └── AutoMapper │ └── AutoMapperConfiguration.cs ├── Fixtures └── UserFixture.cs ├── Manager.Tests.csproj └── Projects └── Services └── UserServiceTests.cs /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Eschechola/ManagerAPI/HEAD/.gitignore -------------------------------------------------------------------------------- /Manager.sln: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Eschechola/ManagerAPI/HEAD/Manager.sln -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Eschechola/ManagerAPI/HEAD/README.md -------------------------------------------------------------------------------- /src/.vscode/launch.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Eschechola/ManagerAPI/HEAD/src/.vscode/launch.json -------------------------------------------------------------------------------- /src/.vscode/tasks.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Eschechola/ManagerAPI/HEAD/src/.vscode/tasks.json -------------------------------------------------------------------------------- /src/1 - Manager.API/Controllers/AuthController.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Eschechola/ManagerAPI/HEAD/src/1 - Manager.API/Controllers/AuthController.cs -------------------------------------------------------------------------------- /src/1 - Manager.API/Controllers/BaseController.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Eschechola/ManagerAPI/HEAD/src/1 - Manager.API/Controllers/BaseController.cs -------------------------------------------------------------------------------- /src/1 - Manager.API/Controllers/UserController.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Eschechola/ManagerAPI/HEAD/src/1 - Manager.API/Controllers/UserController.cs -------------------------------------------------------------------------------- /src/1 - Manager.API/Manager.API.csproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Eschechola/ManagerAPI/HEAD/src/1 - Manager.API/Manager.API.csproj -------------------------------------------------------------------------------- /src/1 - Manager.API/Middlewares/ExceptionHandlerMiddleware.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Eschechola/ManagerAPI/HEAD/src/1 - Manager.API/Middlewares/ExceptionHandlerMiddleware.cs -------------------------------------------------------------------------------- /src/1 - Manager.API/Program.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Eschechola/ManagerAPI/HEAD/src/1 - Manager.API/Program.cs -------------------------------------------------------------------------------- /src/1 - Manager.API/Properties/launchSettings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Eschechola/ManagerAPI/HEAD/src/1 - Manager.API/Properties/launchSettings.json -------------------------------------------------------------------------------- /src/1 - Manager.API/Startup.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Eschechola/ManagerAPI/HEAD/src/1 - Manager.API/Startup.cs -------------------------------------------------------------------------------- /src/1 - Manager.API/Token/ITokenService.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Eschechola/ManagerAPI/HEAD/src/1 - Manager.API/Token/ITokenService.cs -------------------------------------------------------------------------------- /src/1 - Manager.API/Token/TokenService.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Eschechola/ManagerAPI/HEAD/src/1 - Manager.API/Token/TokenService.cs -------------------------------------------------------------------------------- /src/1 - Manager.API/Utilities/Responses.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Eschechola/ManagerAPI/HEAD/src/1 - Manager.API/Utilities/Responses.cs -------------------------------------------------------------------------------- /src/1 - Manager.API/ViewModels/CreateUserViewModel.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Eschechola/ManagerAPI/HEAD/src/1 - Manager.API/ViewModels/CreateUserViewModel.cs -------------------------------------------------------------------------------- /src/1 - Manager.API/ViewModels/LoginViewModel.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Eschechola/ManagerAPI/HEAD/src/1 - Manager.API/ViewModels/LoginViewModel.cs -------------------------------------------------------------------------------- /src/1 - Manager.API/ViewModels/ResultViewModel.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Eschechola/ManagerAPI/HEAD/src/1 - Manager.API/ViewModels/ResultViewModel.cs -------------------------------------------------------------------------------- /src/1 - Manager.API/ViewModels/UpdateUserViewModel.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Eschechola/ManagerAPI/HEAD/src/1 - Manager.API/ViewModels/UpdateUserViewModel.cs -------------------------------------------------------------------------------- /src/1 - Manager.API/appsettings.Development.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Eschechola/ManagerAPI/HEAD/src/1 - Manager.API/appsettings.Development.json -------------------------------------------------------------------------------- /src/1 - Manager.API/appsettings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Eschechola/ManagerAPI/HEAD/src/1 - Manager.API/appsettings.json -------------------------------------------------------------------------------- /src/2 - Manager.Domain/Entities/Base.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Eschechola/ManagerAPI/HEAD/src/2 - Manager.Domain/Entities/Base.cs -------------------------------------------------------------------------------- /src/2 - Manager.Domain/Entities/User.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Eschechola/ManagerAPI/HEAD/src/2 - Manager.Domain/Entities/User.cs -------------------------------------------------------------------------------- /src/2 - Manager.Domain/Manager.Domain.csproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Eschechola/ManagerAPI/HEAD/src/2 - Manager.Domain/Manager.Domain.csproj -------------------------------------------------------------------------------- /src/2 - Manager.Domain/Validators/UserValidator.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Eschechola/ManagerAPI/HEAD/src/2 - Manager.Domain/Validators/UserValidator.cs -------------------------------------------------------------------------------- /src/3 - Manager.Services/DTO/UserDTO.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Eschechola/ManagerAPI/HEAD/src/3 - Manager.Services/DTO/UserDTO.cs -------------------------------------------------------------------------------- /src/3 - Manager.Services/Interfaces/IUserService.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Eschechola/ManagerAPI/HEAD/src/3 - Manager.Services/Interfaces/IUserService.cs -------------------------------------------------------------------------------- /src/3 - Manager.Services/Manager.Services.csproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Eschechola/ManagerAPI/HEAD/src/3 - Manager.Services/Manager.Services.csproj -------------------------------------------------------------------------------- /src/3 - Manager.Services/Services/UserService.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Eschechola/ManagerAPI/HEAD/src/3 - Manager.Services/Services/UserService.cs -------------------------------------------------------------------------------- /src/4 - Manager.Infra/Context/ManagerContext.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Eschechola/ManagerAPI/HEAD/src/4 - Manager.Infra/Context/ManagerContext.cs -------------------------------------------------------------------------------- /src/4 - Manager.Infra/Interfaces/IBaseRepository.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Eschechola/ManagerAPI/HEAD/src/4 - Manager.Infra/Interfaces/IBaseRepository.cs -------------------------------------------------------------------------------- /src/4 - Manager.Infra/Interfaces/IUserRepository.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Eschechola/ManagerAPI/HEAD/src/4 - Manager.Infra/Interfaces/IUserRepository.cs -------------------------------------------------------------------------------- /src/4 - Manager.Infra/Manager.Infra.csproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Eschechola/ManagerAPI/HEAD/src/4 - Manager.Infra/Manager.Infra.csproj -------------------------------------------------------------------------------- /src/4 - Manager.Infra/Mappings/UserMap.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Eschechola/ManagerAPI/HEAD/src/4 - Manager.Infra/Mappings/UserMap.cs -------------------------------------------------------------------------------- /src/4 - Manager.Infra/Migrations/20201231061725_InitialMigration.Designer.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Eschechola/ManagerAPI/HEAD/src/4 - Manager.Infra/Migrations/20201231061725_InitialMigration.Designer.cs -------------------------------------------------------------------------------- /src/4 - Manager.Infra/Migrations/20201231061725_InitialMigration.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Eschechola/ManagerAPI/HEAD/src/4 - Manager.Infra/Migrations/20201231061725_InitialMigration.cs -------------------------------------------------------------------------------- /src/4 - Manager.Infra/Migrations/20201231062142_UpdateNameLength.Designer.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Eschechola/ManagerAPI/HEAD/src/4 - Manager.Infra/Migrations/20201231062142_UpdateNameLength.Designer.cs -------------------------------------------------------------------------------- /src/4 - Manager.Infra/Migrations/20201231062142_UpdateNameLength.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Eschechola/ManagerAPI/HEAD/src/4 - Manager.Infra/Migrations/20201231062142_UpdateNameLength.cs -------------------------------------------------------------------------------- /src/4 - Manager.Infra/Migrations/20201231062353_UpdateNameLength2.Designer.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Eschechola/ManagerAPI/HEAD/src/4 - Manager.Infra/Migrations/20201231062353_UpdateNameLength2.Designer.cs -------------------------------------------------------------------------------- /src/4 - Manager.Infra/Migrations/20201231062353_UpdateNameLength2.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Eschechola/ManagerAPI/HEAD/src/4 - Manager.Infra/Migrations/20201231062353_UpdateNameLength2.cs -------------------------------------------------------------------------------- /src/4 - Manager.Infra/Migrations/20201231062529_UpdateNameLengthToLessCharacters.Designer.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Eschechola/ManagerAPI/HEAD/src/4 - Manager.Infra/Migrations/20201231062529_UpdateNameLengthToLessCharacters.Designer.cs -------------------------------------------------------------------------------- /src/4 - Manager.Infra/Migrations/20201231062529_UpdateNameLengthToLessCharacters.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Eschechola/ManagerAPI/HEAD/src/4 - Manager.Infra/Migrations/20201231062529_UpdateNameLengthToLessCharacters.cs -------------------------------------------------------------------------------- /src/4 - Manager.Infra/Migrations/20201231062551_UpdateNameLengthToLessCharacters2.Designer.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Eschechola/ManagerAPI/HEAD/src/4 - Manager.Infra/Migrations/20201231062551_UpdateNameLengthToLessCharacters2.Designer.cs -------------------------------------------------------------------------------- /src/4 - Manager.Infra/Migrations/20201231062551_UpdateNameLengthToLessCharacters2.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Eschechola/ManagerAPI/HEAD/src/4 - Manager.Infra/Migrations/20201231062551_UpdateNameLengthToLessCharacters2.cs -------------------------------------------------------------------------------- /src/4 - Manager.Infra/Migrations/20210301044804_UpdatePasswordLenght.Designer.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Eschechola/ManagerAPI/HEAD/src/4 - Manager.Infra/Migrations/20210301044804_UpdatePasswordLenght.Designer.cs -------------------------------------------------------------------------------- /src/4 - Manager.Infra/Migrations/20210301044804_UpdatePasswordLenght.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Eschechola/ManagerAPI/HEAD/src/4 - Manager.Infra/Migrations/20210301044804_UpdatePasswordLenght.cs -------------------------------------------------------------------------------- /src/4 - Manager.Infra/Migrations/ManagerContextModelSnapshot.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Eschechola/ManagerAPI/HEAD/src/4 - Manager.Infra/Migrations/ManagerContextModelSnapshot.cs -------------------------------------------------------------------------------- /src/4 - Manager.Infra/Repositories/BaseRepository.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Eschechola/ManagerAPI/HEAD/src/4 - Manager.Infra/Repositories/BaseRepository.cs -------------------------------------------------------------------------------- /src/4 - Manager.Infra/Repositories/UserRepository.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Eschechola/ManagerAPI/HEAD/src/4 - Manager.Infra/Repositories/UserRepository.cs -------------------------------------------------------------------------------- /src/5 - Manager.Core/Communication/Handlers/DomainNotificationHandler.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Eschechola/ManagerAPI/HEAD/src/5 - Manager.Core/Communication/Handlers/DomainNotificationHandler.cs -------------------------------------------------------------------------------- /src/5 - Manager.Core/Communication/Mediator/Interfaces/IMediatorHandler.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Eschechola/ManagerAPI/HEAD/src/5 - Manager.Core/Communication/Mediator/Interfaces/IMediatorHandler.cs -------------------------------------------------------------------------------- /src/5 - Manager.Core/Communication/Mediator/MediatorHandler.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Eschechola/ManagerAPI/HEAD/src/5 - Manager.Core/Communication/Mediator/MediatorHandler.cs -------------------------------------------------------------------------------- /src/5 - Manager.Core/Communication/Messages/Notifications/DomainNotification.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Eschechola/ManagerAPI/HEAD/src/5 - Manager.Core/Communication/Messages/Notifications/DomainNotification.cs -------------------------------------------------------------------------------- /src/5 - Manager.Core/Communication/Messages/Notifications/Notification.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Eschechola/ManagerAPI/HEAD/src/5 - Manager.Core/Communication/Messages/Notifications/Notification.cs -------------------------------------------------------------------------------- /src/5 - Manager.Core/Enum/DomainNotificationType.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Eschechola/ManagerAPI/HEAD/src/5 - Manager.Core/Enum/DomainNotificationType.cs -------------------------------------------------------------------------------- /src/5 - Manager.Core/Manager.Core.csproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Eschechola/ManagerAPI/HEAD/src/5 - Manager.Core/Manager.Core.csproj -------------------------------------------------------------------------------- /src/5 - Manager.Core/Structs/Optional.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Eschechola/ManagerAPI/HEAD/src/5 - Manager.Core/Structs/Optional.cs -------------------------------------------------------------------------------- /src/5 - Manager.Core/Validations/Message/ErrorMessages.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Eschechola/ManagerAPI/HEAD/src/5 - Manager.Core/Validations/Message/ErrorMessages.cs -------------------------------------------------------------------------------- /src/6 - Manager.Tests/Configurations/AutoMapper/AutoMapperConfiguration.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Eschechola/ManagerAPI/HEAD/src/6 - Manager.Tests/Configurations/AutoMapper/AutoMapperConfiguration.cs -------------------------------------------------------------------------------- /src/6 - Manager.Tests/Fixtures/UserFixture.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Eschechola/ManagerAPI/HEAD/src/6 - Manager.Tests/Fixtures/UserFixture.cs -------------------------------------------------------------------------------- /src/6 - Manager.Tests/Manager.Tests.csproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Eschechola/ManagerAPI/HEAD/src/6 - Manager.Tests/Manager.Tests.csproj -------------------------------------------------------------------------------- /src/6 - Manager.Tests/Projects/Services/UserServiceTests.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Eschechola/ManagerAPI/HEAD/src/6 - Manager.Tests/Projects/Services/UserServiceTests.cs --------------------------------------------------------------------------------