├── .gitattributes ├── .gitignore ├── Contracts ├── Contracts.csproj ├── IEmployeeRepository.cs ├── ILoggerManager.cs ├── IProjectRepository.cs ├── IRepositoryBase.cs └── IRepositoryManager.cs ├── Draws.drawio ├── Entities ├── Entities.csproj ├── ErroModel │ └── ErrorDetails.cs ├── Exceptions │ ├── ClassDiagram1.cd │ ├── EmployeeNotFoundException.cs │ ├── NotFoundException.cs │ └── ProjectNotFoundException.cs └── Models │ ├── Employee.cs │ └── Project.cs ├── LoggerService ├── LoggerManager.cs └── LoggerService.csproj ├── ProjectManagement.Presentation ├── AssemblyReference.cs ├── Controllers │ ├── EmployeesController.cs │ └── ProjectsController.cs └── ProjectManagement.Presentation.csproj ├── ProjectManagement ├── Extensions │ ├── ExceptionMiddlewareExtensions.cs │ └── ServiceExtensions.cs ├── Migrations │ ├── 20220422151923_CreateDb.Designer.cs │ ├── 20220422151923_CreateDb.cs │ └── RepositoryContextModelSnapshot.cs ├── Program.cs ├── ProjectManagement.csproj ├── Properties │ └── launchSettings.json ├── Utilities │ ├── Mapping │ │ └── MappingProfile.cs │ └── OutputFormatter.cs │ │ └── CsvOutputFormatter.cs ├── appsettings.Development.json ├── appsettings.json ├── internal_logs │ └── internallog.txt └── nlog.config ├── README.md ├── Repository ├── Config │ ├── EmployeeConfig.cs │ └── ProjectConfig.cs ├── EmployeeRepository.cs ├── ProjectRepository.cs ├── Repository.csproj ├── RepositoryBase.cs ├── RepositoryContext.cs └── RepositoryManager.cs ├── Service.Contracts ├── IEmployeeService.cs ├── IProjectService.cs ├── IServiceManager.cs └── Service.Contracts.csproj ├── Service ├── EmployeeService.cs ├── ProjectService.cs ├── Service.csproj └── ServiceManager.cs ├── Shared ├── Class1.cs ├── DataTransferObjects │ ├── EmployeeDto.cs │ ├── EmployeeDtoForCreation.cs │ ├── ProjectDto.cs │ └── ProjectDtoForCreation.cs └── Shared.csproj └── WebApiCourse.sln /.gitattributes: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zcomert/asp-dotnet-core-webapi/HEAD/.gitattributes -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zcomert/asp-dotnet-core-webapi/HEAD/.gitignore -------------------------------------------------------------------------------- /Contracts/Contracts.csproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zcomert/asp-dotnet-core-webapi/HEAD/Contracts/Contracts.csproj -------------------------------------------------------------------------------- /Contracts/IEmployeeRepository.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zcomert/asp-dotnet-core-webapi/HEAD/Contracts/IEmployeeRepository.cs -------------------------------------------------------------------------------- /Contracts/ILoggerManager.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zcomert/asp-dotnet-core-webapi/HEAD/Contracts/ILoggerManager.cs -------------------------------------------------------------------------------- /Contracts/IProjectRepository.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zcomert/asp-dotnet-core-webapi/HEAD/Contracts/IProjectRepository.cs -------------------------------------------------------------------------------- /Contracts/IRepositoryBase.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zcomert/asp-dotnet-core-webapi/HEAD/Contracts/IRepositoryBase.cs -------------------------------------------------------------------------------- /Contracts/IRepositoryManager.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zcomert/asp-dotnet-core-webapi/HEAD/Contracts/IRepositoryManager.cs -------------------------------------------------------------------------------- /Draws.drawio: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zcomert/asp-dotnet-core-webapi/HEAD/Draws.drawio -------------------------------------------------------------------------------- /Entities/Entities.csproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zcomert/asp-dotnet-core-webapi/HEAD/Entities/Entities.csproj -------------------------------------------------------------------------------- /Entities/ErroModel/ErrorDetails.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zcomert/asp-dotnet-core-webapi/HEAD/Entities/ErroModel/ErrorDetails.cs -------------------------------------------------------------------------------- /Entities/Exceptions/ClassDiagram1.cd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zcomert/asp-dotnet-core-webapi/HEAD/Entities/Exceptions/ClassDiagram1.cd -------------------------------------------------------------------------------- /Entities/Exceptions/EmployeeNotFoundException.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zcomert/asp-dotnet-core-webapi/HEAD/Entities/Exceptions/EmployeeNotFoundException.cs -------------------------------------------------------------------------------- /Entities/Exceptions/NotFoundException.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zcomert/asp-dotnet-core-webapi/HEAD/Entities/Exceptions/NotFoundException.cs -------------------------------------------------------------------------------- /Entities/Exceptions/ProjectNotFoundException.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zcomert/asp-dotnet-core-webapi/HEAD/Entities/Exceptions/ProjectNotFoundException.cs -------------------------------------------------------------------------------- /Entities/Models/Employee.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zcomert/asp-dotnet-core-webapi/HEAD/Entities/Models/Employee.cs -------------------------------------------------------------------------------- /Entities/Models/Project.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zcomert/asp-dotnet-core-webapi/HEAD/Entities/Models/Project.cs -------------------------------------------------------------------------------- /LoggerService/LoggerManager.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zcomert/asp-dotnet-core-webapi/HEAD/LoggerService/LoggerManager.cs -------------------------------------------------------------------------------- /LoggerService/LoggerService.csproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zcomert/asp-dotnet-core-webapi/HEAD/LoggerService/LoggerService.csproj -------------------------------------------------------------------------------- /ProjectManagement.Presentation/AssemblyReference.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zcomert/asp-dotnet-core-webapi/HEAD/ProjectManagement.Presentation/AssemblyReference.cs -------------------------------------------------------------------------------- /ProjectManagement.Presentation/Controllers/EmployeesController.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zcomert/asp-dotnet-core-webapi/HEAD/ProjectManagement.Presentation/Controllers/EmployeesController.cs -------------------------------------------------------------------------------- /ProjectManagement.Presentation/Controllers/ProjectsController.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zcomert/asp-dotnet-core-webapi/HEAD/ProjectManagement.Presentation/Controllers/ProjectsController.cs -------------------------------------------------------------------------------- /ProjectManagement.Presentation/ProjectManagement.Presentation.csproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zcomert/asp-dotnet-core-webapi/HEAD/ProjectManagement.Presentation/ProjectManagement.Presentation.csproj -------------------------------------------------------------------------------- /ProjectManagement/Extensions/ExceptionMiddlewareExtensions.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zcomert/asp-dotnet-core-webapi/HEAD/ProjectManagement/Extensions/ExceptionMiddlewareExtensions.cs -------------------------------------------------------------------------------- /ProjectManagement/Extensions/ServiceExtensions.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zcomert/asp-dotnet-core-webapi/HEAD/ProjectManagement/Extensions/ServiceExtensions.cs -------------------------------------------------------------------------------- /ProjectManagement/Migrations/20220422151923_CreateDb.Designer.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zcomert/asp-dotnet-core-webapi/HEAD/ProjectManagement/Migrations/20220422151923_CreateDb.Designer.cs -------------------------------------------------------------------------------- /ProjectManagement/Migrations/20220422151923_CreateDb.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zcomert/asp-dotnet-core-webapi/HEAD/ProjectManagement/Migrations/20220422151923_CreateDb.cs -------------------------------------------------------------------------------- /ProjectManagement/Migrations/RepositoryContextModelSnapshot.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zcomert/asp-dotnet-core-webapi/HEAD/ProjectManagement/Migrations/RepositoryContextModelSnapshot.cs -------------------------------------------------------------------------------- /ProjectManagement/Program.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zcomert/asp-dotnet-core-webapi/HEAD/ProjectManagement/Program.cs -------------------------------------------------------------------------------- /ProjectManagement/ProjectManagement.csproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zcomert/asp-dotnet-core-webapi/HEAD/ProjectManagement/ProjectManagement.csproj -------------------------------------------------------------------------------- /ProjectManagement/Properties/launchSettings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zcomert/asp-dotnet-core-webapi/HEAD/ProjectManagement/Properties/launchSettings.json -------------------------------------------------------------------------------- /ProjectManagement/Utilities/Mapping/MappingProfile.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zcomert/asp-dotnet-core-webapi/HEAD/ProjectManagement/Utilities/Mapping/MappingProfile.cs -------------------------------------------------------------------------------- /ProjectManagement/Utilities/OutputFormatter.cs/CsvOutputFormatter.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zcomert/asp-dotnet-core-webapi/HEAD/ProjectManagement/Utilities/OutputFormatter.cs/CsvOutputFormatter.cs -------------------------------------------------------------------------------- /ProjectManagement/appsettings.Development.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zcomert/asp-dotnet-core-webapi/HEAD/ProjectManagement/appsettings.Development.json -------------------------------------------------------------------------------- /ProjectManagement/appsettings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zcomert/asp-dotnet-core-webapi/HEAD/ProjectManagement/appsettings.json -------------------------------------------------------------------------------- /ProjectManagement/internal_logs/internallog.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zcomert/asp-dotnet-core-webapi/HEAD/ProjectManagement/internal_logs/internallog.txt -------------------------------------------------------------------------------- /ProjectManagement/nlog.config: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zcomert/asp-dotnet-core-webapi/HEAD/ProjectManagement/nlog.config -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zcomert/asp-dotnet-core-webapi/HEAD/README.md -------------------------------------------------------------------------------- /Repository/Config/EmployeeConfig.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zcomert/asp-dotnet-core-webapi/HEAD/Repository/Config/EmployeeConfig.cs -------------------------------------------------------------------------------- /Repository/Config/ProjectConfig.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zcomert/asp-dotnet-core-webapi/HEAD/Repository/Config/ProjectConfig.cs -------------------------------------------------------------------------------- /Repository/EmployeeRepository.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zcomert/asp-dotnet-core-webapi/HEAD/Repository/EmployeeRepository.cs -------------------------------------------------------------------------------- /Repository/ProjectRepository.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zcomert/asp-dotnet-core-webapi/HEAD/Repository/ProjectRepository.cs -------------------------------------------------------------------------------- /Repository/Repository.csproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zcomert/asp-dotnet-core-webapi/HEAD/Repository/Repository.csproj -------------------------------------------------------------------------------- /Repository/RepositoryBase.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zcomert/asp-dotnet-core-webapi/HEAD/Repository/RepositoryBase.cs -------------------------------------------------------------------------------- /Repository/RepositoryContext.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zcomert/asp-dotnet-core-webapi/HEAD/Repository/RepositoryContext.cs -------------------------------------------------------------------------------- /Repository/RepositoryManager.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zcomert/asp-dotnet-core-webapi/HEAD/Repository/RepositoryManager.cs -------------------------------------------------------------------------------- /Service.Contracts/IEmployeeService.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zcomert/asp-dotnet-core-webapi/HEAD/Service.Contracts/IEmployeeService.cs -------------------------------------------------------------------------------- /Service.Contracts/IProjectService.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zcomert/asp-dotnet-core-webapi/HEAD/Service.Contracts/IProjectService.cs -------------------------------------------------------------------------------- /Service.Contracts/IServiceManager.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zcomert/asp-dotnet-core-webapi/HEAD/Service.Contracts/IServiceManager.cs -------------------------------------------------------------------------------- /Service.Contracts/Service.Contracts.csproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zcomert/asp-dotnet-core-webapi/HEAD/Service.Contracts/Service.Contracts.csproj -------------------------------------------------------------------------------- /Service/EmployeeService.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zcomert/asp-dotnet-core-webapi/HEAD/Service/EmployeeService.cs -------------------------------------------------------------------------------- /Service/ProjectService.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zcomert/asp-dotnet-core-webapi/HEAD/Service/ProjectService.cs -------------------------------------------------------------------------------- /Service/Service.csproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zcomert/asp-dotnet-core-webapi/HEAD/Service/Service.csproj -------------------------------------------------------------------------------- /Service/ServiceManager.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zcomert/asp-dotnet-core-webapi/HEAD/Service/ServiceManager.cs -------------------------------------------------------------------------------- /Shared/Class1.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zcomert/asp-dotnet-core-webapi/HEAD/Shared/Class1.cs -------------------------------------------------------------------------------- /Shared/DataTransferObjects/EmployeeDto.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zcomert/asp-dotnet-core-webapi/HEAD/Shared/DataTransferObjects/EmployeeDto.cs -------------------------------------------------------------------------------- /Shared/DataTransferObjects/EmployeeDtoForCreation.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zcomert/asp-dotnet-core-webapi/HEAD/Shared/DataTransferObjects/EmployeeDtoForCreation.cs -------------------------------------------------------------------------------- /Shared/DataTransferObjects/ProjectDto.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zcomert/asp-dotnet-core-webapi/HEAD/Shared/DataTransferObjects/ProjectDto.cs -------------------------------------------------------------------------------- /Shared/DataTransferObjects/ProjectDtoForCreation.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zcomert/asp-dotnet-core-webapi/HEAD/Shared/DataTransferObjects/ProjectDtoForCreation.cs -------------------------------------------------------------------------------- /Shared/Shared.csproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zcomert/asp-dotnet-core-webapi/HEAD/Shared/Shared.csproj -------------------------------------------------------------------------------- /WebApiCourse.sln: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zcomert/asp-dotnet-core-webapi/HEAD/WebApiCourse.sln --------------------------------------------------------------------------------