├── .gitignore ├── README.md ├── Routine ├── Routine.APi │ ├── ActionConstraints │ │ └── RequestHeaderMatchesMediaTypeAttribute.cs │ ├── Controllers │ │ ├── CompaniesController.cs │ │ ├── CompanyCollectionsController.cs │ │ ├── EmployeesController.cs │ │ └── RootController.cs │ ├── Data │ │ └── RoutineDbContext.cs │ ├── DtoParameters │ │ ├── CompanyDtoParameters.cs │ │ └── EmployeeDtoParameters.cs │ ├── Entities │ │ ├── Company.cs │ │ ├── Employee.cs │ │ └── Gender.cs │ ├── Helpers │ │ ├── ArrayModelBinder.cs │ │ ├── IEnumerableExtensions.cs │ │ ├── IQueryableExtensions.cs │ │ ├── ObjectExtensions.cs │ │ ├── PagedList.cs │ │ └── ResourceUriType.cs │ ├── Migrations │ │ ├── 20200206121508_AfterP38.Designer.cs │ │ ├── 20200206121508_AfterP38.cs │ │ ├── 20200222031609_AddBankruptTime.Designer.cs │ │ ├── 20200222031609_AddBankruptTime.cs │ │ └── RoutineDbContextModelSnapshot.cs │ ├── Models │ │ ├── CompanyAddDto.cs │ │ ├── CompanyAddWithBankruptTimeDto.cs │ │ ├── CompanyFriendlyDto.cs │ │ ├── CompanyFullDto.cs │ │ ├── EmployeeAddDto.cs │ │ ├── EmployeeAddOrUpdateDto.cs │ │ ├── EmployeeDto.cs │ │ ├── EmployeeUpdateDto.cs │ │ └── LinkDto.cs │ ├── Profiles │ │ ├── CompanyProfile.cs │ │ └── EmployeeProfile.cs │ ├── Program.cs │ ├── Properties │ │ └── launchSettings.json │ ├── Routine.APi.csproj │ ├── Services │ │ ├── CompanyRepository.cs │ │ ├── ICompanyRepository.cs │ │ ├── IPropertyCheckerService.cs │ │ ├── IPropertyMapping.cs │ │ ├── IPropertyMappingService.cs │ │ ├── PropertyCheckerService.cs │ │ ├── PropertyMapping.cs │ │ ├── PropertyMappingService.cs │ │ └── PropertyMappingValue.cs │ ├── Startup.cs │ ├── ValidationAttributes │ │ └── EmployeeNoMustDifferentFromFirstNameAttribute.cs │ ├── appsettings.Development.json │ └── appsettings.json └── Routine.sln └── cover.jpg /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Surbowl/ASP.NET-Core-RESTful-Note/HEAD/.gitignore -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Surbowl/ASP.NET-Core-RESTful-Note/HEAD/README.md -------------------------------------------------------------------------------- /Routine/Routine.APi/ActionConstraints/RequestHeaderMatchesMediaTypeAttribute.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Surbowl/ASP.NET-Core-RESTful-Note/HEAD/Routine/Routine.APi/ActionConstraints/RequestHeaderMatchesMediaTypeAttribute.cs -------------------------------------------------------------------------------- /Routine/Routine.APi/Controllers/CompaniesController.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Surbowl/ASP.NET-Core-RESTful-Note/HEAD/Routine/Routine.APi/Controllers/CompaniesController.cs -------------------------------------------------------------------------------- /Routine/Routine.APi/Controllers/CompanyCollectionsController.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Surbowl/ASP.NET-Core-RESTful-Note/HEAD/Routine/Routine.APi/Controllers/CompanyCollectionsController.cs -------------------------------------------------------------------------------- /Routine/Routine.APi/Controllers/EmployeesController.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Surbowl/ASP.NET-Core-RESTful-Note/HEAD/Routine/Routine.APi/Controllers/EmployeesController.cs -------------------------------------------------------------------------------- /Routine/Routine.APi/Controllers/RootController.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Surbowl/ASP.NET-Core-RESTful-Note/HEAD/Routine/Routine.APi/Controllers/RootController.cs -------------------------------------------------------------------------------- /Routine/Routine.APi/Data/RoutineDbContext.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Surbowl/ASP.NET-Core-RESTful-Note/HEAD/Routine/Routine.APi/Data/RoutineDbContext.cs -------------------------------------------------------------------------------- /Routine/Routine.APi/DtoParameters/CompanyDtoParameters.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Surbowl/ASP.NET-Core-RESTful-Note/HEAD/Routine/Routine.APi/DtoParameters/CompanyDtoParameters.cs -------------------------------------------------------------------------------- /Routine/Routine.APi/DtoParameters/EmployeeDtoParameters.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Surbowl/ASP.NET-Core-RESTful-Note/HEAD/Routine/Routine.APi/DtoParameters/EmployeeDtoParameters.cs -------------------------------------------------------------------------------- /Routine/Routine.APi/Entities/Company.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Surbowl/ASP.NET-Core-RESTful-Note/HEAD/Routine/Routine.APi/Entities/Company.cs -------------------------------------------------------------------------------- /Routine/Routine.APi/Entities/Employee.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Surbowl/ASP.NET-Core-RESTful-Note/HEAD/Routine/Routine.APi/Entities/Employee.cs -------------------------------------------------------------------------------- /Routine/Routine.APi/Entities/Gender.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Surbowl/ASP.NET-Core-RESTful-Note/HEAD/Routine/Routine.APi/Entities/Gender.cs -------------------------------------------------------------------------------- /Routine/Routine.APi/Helpers/ArrayModelBinder.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Surbowl/ASP.NET-Core-RESTful-Note/HEAD/Routine/Routine.APi/Helpers/ArrayModelBinder.cs -------------------------------------------------------------------------------- /Routine/Routine.APi/Helpers/IEnumerableExtensions.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Surbowl/ASP.NET-Core-RESTful-Note/HEAD/Routine/Routine.APi/Helpers/IEnumerableExtensions.cs -------------------------------------------------------------------------------- /Routine/Routine.APi/Helpers/IQueryableExtensions.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Surbowl/ASP.NET-Core-RESTful-Note/HEAD/Routine/Routine.APi/Helpers/IQueryableExtensions.cs -------------------------------------------------------------------------------- /Routine/Routine.APi/Helpers/ObjectExtensions.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Surbowl/ASP.NET-Core-RESTful-Note/HEAD/Routine/Routine.APi/Helpers/ObjectExtensions.cs -------------------------------------------------------------------------------- /Routine/Routine.APi/Helpers/PagedList.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Surbowl/ASP.NET-Core-RESTful-Note/HEAD/Routine/Routine.APi/Helpers/PagedList.cs -------------------------------------------------------------------------------- /Routine/Routine.APi/Helpers/ResourceUriType.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Surbowl/ASP.NET-Core-RESTful-Note/HEAD/Routine/Routine.APi/Helpers/ResourceUriType.cs -------------------------------------------------------------------------------- /Routine/Routine.APi/Migrations/20200206121508_AfterP38.Designer.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Surbowl/ASP.NET-Core-RESTful-Note/HEAD/Routine/Routine.APi/Migrations/20200206121508_AfterP38.Designer.cs -------------------------------------------------------------------------------- /Routine/Routine.APi/Migrations/20200206121508_AfterP38.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Surbowl/ASP.NET-Core-RESTful-Note/HEAD/Routine/Routine.APi/Migrations/20200206121508_AfterP38.cs -------------------------------------------------------------------------------- /Routine/Routine.APi/Migrations/20200222031609_AddBankruptTime.Designer.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Surbowl/ASP.NET-Core-RESTful-Note/HEAD/Routine/Routine.APi/Migrations/20200222031609_AddBankruptTime.Designer.cs -------------------------------------------------------------------------------- /Routine/Routine.APi/Migrations/20200222031609_AddBankruptTime.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Surbowl/ASP.NET-Core-RESTful-Note/HEAD/Routine/Routine.APi/Migrations/20200222031609_AddBankruptTime.cs -------------------------------------------------------------------------------- /Routine/Routine.APi/Migrations/RoutineDbContextModelSnapshot.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Surbowl/ASP.NET-Core-RESTful-Note/HEAD/Routine/Routine.APi/Migrations/RoutineDbContextModelSnapshot.cs -------------------------------------------------------------------------------- /Routine/Routine.APi/Models/CompanyAddDto.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Surbowl/ASP.NET-Core-RESTful-Note/HEAD/Routine/Routine.APi/Models/CompanyAddDto.cs -------------------------------------------------------------------------------- /Routine/Routine.APi/Models/CompanyAddWithBankruptTimeDto.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Surbowl/ASP.NET-Core-RESTful-Note/HEAD/Routine/Routine.APi/Models/CompanyAddWithBankruptTimeDto.cs -------------------------------------------------------------------------------- /Routine/Routine.APi/Models/CompanyFriendlyDto.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Surbowl/ASP.NET-Core-RESTful-Note/HEAD/Routine/Routine.APi/Models/CompanyFriendlyDto.cs -------------------------------------------------------------------------------- /Routine/Routine.APi/Models/CompanyFullDto.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Surbowl/ASP.NET-Core-RESTful-Note/HEAD/Routine/Routine.APi/Models/CompanyFullDto.cs -------------------------------------------------------------------------------- /Routine/Routine.APi/Models/EmployeeAddDto.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Surbowl/ASP.NET-Core-RESTful-Note/HEAD/Routine/Routine.APi/Models/EmployeeAddDto.cs -------------------------------------------------------------------------------- /Routine/Routine.APi/Models/EmployeeAddOrUpdateDto.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Surbowl/ASP.NET-Core-RESTful-Note/HEAD/Routine/Routine.APi/Models/EmployeeAddOrUpdateDto.cs -------------------------------------------------------------------------------- /Routine/Routine.APi/Models/EmployeeDto.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Surbowl/ASP.NET-Core-RESTful-Note/HEAD/Routine/Routine.APi/Models/EmployeeDto.cs -------------------------------------------------------------------------------- /Routine/Routine.APi/Models/EmployeeUpdateDto.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Surbowl/ASP.NET-Core-RESTful-Note/HEAD/Routine/Routine.APi/Models/EmployeeUpdateDto.cs -------------------------------------------------------------------------------- /Routine/Routine.APi/Models/LinkDto.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Surbowl/ASP.NET-Core-RESTful-Note/HEAD/Routine/Routine.APi/Models/LinkDto.cs -------------------------------------------------------------------------------- /Routine/Routine.APi/Profiles/CompanyProfile.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Surbowl/ASP.NET-Core-RESTful-Note/HEAD/Routine/Routine.APi/Profiles/CompanyProfile.cs -------------------------------------------------------------------------------- /Routine/Routine.APi/Profiles/EmployeeProfile.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Surbowl/ASP.NET-Core-RESTful-Note/HEAD/Routine/Routine.APi/Profiles/EmployeeProfile.cs -------------------------------------------------------------------------------- /Routine/Routine.APi/Program.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Surbowl/ASP.NET-Core-RESTful-Note/HEAD/Routine/Routine.APi/Program.cs -------------------------------------------------------------------------------- /Routine/Routine.APi/Properties/launchSettings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Surbowl/ASP.NET-Core-RESTful-Note/HEAD/Routine/Routine.APi/Properties/launchSettings.json -------------------------------------------------------------------------------- /Routine/Routine.APi/Routine.APi.csproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Surbowl/ASP.NET-Core-RESTful-Note/HEAD/Routine/Routine.APi/Routine.APi.csproj -------------------------------------------------------------------------------- /Routine/Routine.APi/Services/CompanyRepository.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Surbowl/ASP.NET-Core-RESTful-Note/HEAD/Routine/Routine.APi/Services/CompanyRepository.cs -------------------------------------------------------------------------------- /Routine/Routine.APi/Services/ICompanyRepository.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Surbowl/ASP.NET-Core-RESTful-Note/HEAD/Routine/Routine.APi/Services/ICompanyRepository.cs -------------------------------------------------------------------------------- /Routine/Routine.APi/Services/IPropertyCheckerService.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Surbowl/ASP.NET-Core-RESTful-Note/HEAD/Routine/Routine.APi/Services/IPropertyCheckerService.cs -------------------------------------------------------------------------------- /Routine/Routine.APi/Services/IPropertyMapping.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Surbowl/ASP.NET-Core-RESTful-Note/HEAD/Routine/Routine.APi/Services/IPropertyMapping.cs -------------------------------------------------------------------------------- /Routine/Routine.APi/Services/IPropertyMappingService.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Surbowl/ASP.NET-Core-RESTful-Note/HEAD/Routine/Routine.APi/Services/IPropertyMappingService.cs -------------------------------------------------------------------------------- /Routine/Routine.APi/Services/PropertyCheckerService.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Surbowl/ASP.NET-Core-RESTful-Note/HEAD/Routine/Routine.APi/Services/PropertyCheckerService.cs -------------------------------------------------------------------------------- /Routine/Routine.APi/Services/PropertyMapping.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Surbowl/ASP.NET-Core-RESTful-Note/HEAD/Routine/Routine.APi/Services/PropertyMapping.cs -------------------------------------------------------------------------------- /Routine/Routine.APi/Services/PropertyMappingService.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Surbowl/ASP.NET-Core-RESTful-Note/HEAD/Routine/Routine.APi/Services/PropertyMappingService.cs -------------------------------------------------------------------------------- /Routine/Routine.APi/Services/PropertyMappingValue.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Surbowl/ASP.NET-Core-RESTful-Note/HEAD/Routine/Routine.APi/Services/PropertyMappingValue.cs -------------------------------------------------------------------------------- /Routine/Routine.APi/Startup.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Surbowl/ASP.NET-Core-RESTful-Note/HEAD/Routine/Routine.APi/Startup.cs -------------------------------------------------------------------------------- /Routine/Routine.APi/ValidationAttributes/EmployeeNoMustDifferentFromFirstNameAttribute.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Surbowl/ASP.NET-Core-RESTful-Note/HEAD/Routine/Routine.APi/ValidationAttributes/EmployeeNoMustDifferentFromFirstNameAttribute.cs -------------------------------------------------------------------------------- /Routine/Routine.APi/appsettings.Development.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Surbowl/ASP.NET-Core-RESTful-Note/HEAD/Routine/Routine.APi/appsettings.Development.json -------------------------------------------------------------------------------- /Routine/Routine.APi/appsettings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Surbowl/ASP.NET-Core-RESTful-Note/HEAD/Routine/Routine.APi/appsettings.json -------------------------------------------------------------------------------- /Routine/Routine.sln: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Surbowl/ASP.NET-Core-RESTful-Note/HEAD/Routine/Routine.sln -------------------------------------------------------------------------------- /cover.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Surbowl/ASP.NET-Core-RESTful-Note/HEAD/cover.jpg --------------------------------------------------------------------------------