├── .gitignore ├── Controllers └── UsersController.cs ├── Entities ├── Role.cs └── User.cs ├── Helpers ├── AppException.cs ├── AutoMapperProfile.cs ├── DataContext.cs └── ErrorHandlerMiddleware.cs ├── LICENSE ├── Models └── Users │ ├── CreateRequest.cs │ └── UpdateRequest.cs ├── Program.cs ├── README.md ├── Services └── UserService.cs ├── Startup.cs ├── WebApi.csproj ├── appsettings.json └── omnisharp.json /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cornflourblue/dotnet-5-crud-api/HEAD/.gitignore -------------------------------------------------------------------------------- /Controllers/UsersController.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cornflourblue/dotnet-5-crud-api/HEAD/Controllers/UsersController.cs -------------------------------------------------------------------------------- /Entities/Role.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cornflourblue/dotnet-5-crud-api/HEAD/Entities/Role.cs -------------------------------------------------------------------------------- /Entities/User.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cornflourblue/dotnet-5-crud-api/HEAD/Entities/User.cs -------------------------------------------------------------------------------- /Helpers/AppException.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cornflourblue/dotnet-5-crud-api/HEAD/Helpers/AppException.cs -------------------------------------------------------------------------------- /Helpers/AutoMapperProfile.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cornflourblue/dotnet-5-crud-api/HEAD/Helpers/AutoMapperProfile.cs -------------------------------------------------------------------------------- /Helpers/DataContext.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cornflourblue/dotnet-5-crud-api/HEAD/Helpers/DataContext.cs -------------------------------------------------------------------------------- /Helpers/ErrorHandlerMiddleware.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cornflourblue/dotnet-5-crud-api/HEAD/Helpers/ErrorHandlerMiddleware.cs -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cornflourblue/dotnet-5-crud-api/HEAD/LICENSE -------------------------------------------------------------------------------- /Models/Users/CreateRequest.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cornflourblue/dotnet-5-crud-api/HEAD/Models/Users/CreateRequest.cs -------------------------------------------------------------------------------- /Models/Users/UpdateRequest.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cornflourblue/dotnet-5-crud-api/HEAD/Models/Users/UpdateRequest.cs -------------------------------------------------------------------------------- /Program.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cornflourblue/dotnet-5-crud-api/HEAD/Program.cs -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cornflourblue/dotnet-5-crud-api/HEAD/README.md -------------------------------------------------------------------------------- /Services/UserService.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cornflourblue/dotnet-5-crud-api/HEAD/Services/UserService.cs -------------------------------------------------------------------------------- /Startup.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cornflourblue/dotnet-5-crud-api/HEAD/Startup.cs -------------------------------------------------------------------------------- /WebApi.csproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cornflourblue/dotnet-5-crud-api/HEAD/WebApi.csproj -------------------------------------------------------------------------------- /appsettings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cornflourblue/dotnet-5-crud-api/HEAD/appsettings.json -------------------------------------------------------------------------------- /omnisharp.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cornflourblue/dotnet-5-crud-api/HEAD/omnisharp.json --------------------------------------------------------------------------------