├── .gitattributes ├── .gitignore ├── Business ├── Abstract │ ├── IAuthService.cs │ ├── IBrandService.cs │ ├── ICarImageService.cs │ ├── ICarService.cs │ ├── IColorService.cs │ ├── ICreditCardService.cs │ ├── ICustomerService.cs │ ├── IRentalService.cs │ └── IUserService.cs ├── Business.csproj ├── BusinessAspects │ └── Autofac │ │ └── SecuredOperation.cs ├── Concrete │ ├── AuthManager.cs │ ├── BrandManager.cs │ ├── CarImageManager.cs │ ├── CarManager.cs │ ├── ColorManager.cs │ ├── CreditCardManager.cs │ ├── CustomerManager.cs │ ├── RentalManager.cs │ └── UserManager.cs ├── Constants │ └── Messages.cs ├── DependencyResolvers │ └── Autofac │ │ └── AutofacBusinessModule.cs └── ValidationRules │ └── FluentValdiation │ ├── BrandValidator.cs │ ├── CarImageValidator.cs │ ├── CarValidator.cs │ ├── ColorValidator.cs │ ├── CreditCardValidator.cs │ ├── CustomerValidator.cs │ ├── RentalValidator.cs │ └── UserValidator.cs ├── ConsoleUI ├── ConsoleUI.csproj └── Program.cs ├── Core ├── Aspects │ └── Autofac │ │ ├── Caching │ │ ├── CacheAspect.cs │ │ └── CacheRemoveAspect.cs │ │ ├── Performance │ │ └── PerformanceAspect.cs │ │ ├── Transaction │ │ └── TransactionScopeAspect.cs │ │ └── Validation │ │ └── ValidationAspect.cs ├── Core.csproj ├── CrossCuttingConcers │ ├── Caching │ │ ├── ICacheManager.cs │ │ └── Microsoft │ │ │ └── MemoryCacheManager.cs │ └── Validation │ │ └── FluentValidation │ │ └── ValidationTool.cs ├── DataAccess │ ├── EntityFramework │ │ └── EfEntityRepositoryBase.cs │ └── IEntityRepository.cs ├── DependencyResolvers │ └── CoreModule.cs ├── Entities │ ├── Concrete │ │ ├── OperationClaim.cs │ │ ├── User.cs │ │ └── UserOperationClaim.cs │ ├── IDto.cs │ └── IEntity.cs ├── Extensions │ ├── ClaimExtensions.cs │ ├── ClaimsPrincipalExtensions.cs │ ├── ErrorDetails.cs │ ├── ExceptionMiddleware.cs │ ├── ExceptionMiddlewareExtensions.cs │ └── ServiceCollectionExtensions.cs └── Utilities │ ├── Business │ └── BusinessRules.cs │ ├── FileHelper │ └── FileHelper.cs │ ├── Helpers │ └── FileHelper.cs │ ├── Interceptors │ ├── AspectInterceptorSelector.cs │ ├── MethodInterception.cs │ └── MethodInterceptionBaseAttribute.cs │ ├── IoC │ ├── ICoreModule.cs │ └── ServiceTool.cs │ ├── Results │ ├── DataResult.cs │ ├── ErrorDataResult.cs │ ├── ErrorResult.cs │ ├── IDataResult.cs │ ├── IResult.cs │ ├── Result.cs │ ├── SuccessDataResult.cs │ └── SuccessResult.cs │ └── Security │ ├── Encryption │ ├── SecurityKeyHelper.cs │ └── SigningCredentialsHelper.cs │ ├── Hashing │ └── HashingHelper.cs │ └── JWT │ ├── AccessToken.cs │ ├── ITokenHelper.cs │ ├── JwtHelper.cs │ └── TokenOptions.cs ├── DataAccess ├── Abstract │ ├── IBrandDal.cs │ ├── ICarDal.cs │ ├── ICarImageDal.cs │ ├── IColorDal.cs │ ├── ICreditCardDal.cs │ ├── ICustomerDal.cs │ ├── IRentalDal.cs │ └── IUserDal.cs ├── Concrete │ ├── EntityFramework │ │ ├── CarsinfoContext.cs │ │ ├── EfBrandDal.cs │ │ ├── EfCarDal.cs │ │ ├── EfCarImageDal.cs │ │ ├── EfColorDal.cs │ │ ├── EfCreditCardDal.cs │ │ ├── EfCustomerDal.cs │ │ ├── EfRentalDal.cs │ │ └── EfUserDal.cs │ └── InMemory │ │ └── InMemoryCarDal.cs └── DataAccess.csproj ├── Entities ├── Concrete │ ├── Brand.cs │ ├── Car.cs │ ├── CarImage.cs │ ├── Color.cs │ ├── CreditCard.cs │ ├── Customer.cs │ └── Rental.cs ├── DTOs │ ├── CarDetailDto.cs │ ├── ChangePasswordDto.cs │ ├── CustomerDetailDto.cs │ ├── RentalDetailDto.cs │ ├── UserForLoginDto.cs │ └── UserForRegisterDto.cs └── Entities.csproj ├── LICENSE ├── README.md ├── WebAPI ├── Controllers │ ├── AuthController.cs │ ├── BrandsController.cs │ ├── CarsController.cs │ ├── ColorsController.cs │ ├── CreditCardsController.cs │ ├── CustomersController.cs │ ├── ImageUploadsController.cs │ ├── RentalsController.cs │ └── UsersController.cs ├── Program.cs ├── Properties │ └── launchSettings.json ├── Startup.cs ├── WebAPI.csproj ├── appsettings.Development.json ├── appsettings.json └── wwwroot │ └── Images │ ├── 0ab89a81ad9f447186c7fc81867f46c5.jpg │ ├── 11f66ad69772402ea35d163cf32ef3dc.jpg │ ├── 1a584f73aa1c424da8f08472a5dd6f99.png │ ├── 1b3025f457a54cbabbb096685ef9ecb0.png │ ├── 45b80eb1d42a4a91841608e44fb6d448.jpg │ ├── 50a694482f9c490cb30e1ec3a7c67fbe.png │ ├── 5be35b1ac7994039beb0d98e5e339ebf.jpg │ ├── 5d94772edf42456098e5e20847bda5a7.jpg │ ├── 65bd04af1cac44e6945415318b3878cb.jpg │ ├── 958f2e59d76d407a8d708642a15711d0.jpg │ ├── c8df5cf366814596a27a9e89982eb45b.png │ ├── c99aaf71101641fba9621ebd9a3beddf.webp │ ├── d06dff8dfffa42d1bc3ee826fcabb00f.jpg │ ├── default.png │ ├── e13aaef0bda34d428296f2d7845338c5.jpg │ └── e5c4afe3a0e547e3a8f65311dc063e76.jpg └── multitier_architecture.sln /.gitattributes: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sugrado/car-rental-dotnet/HEAD/.gitattributes -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sugrado/car-rental-dotnet/HEAD/.gitignore -------------------------------------------------------------------------------- /Business/Abstract/IAuthService.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sugrado/car-rental-dotnet/HEAD/Business/Abstract/IAuthService.cs -------------------------------------------------------------------------------- /Business/Abstract/IBrandService.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sugrado/car-rental-dotnet/HEAD/Business/Abstract/IBrandService.cs -------------------------------------------------------------------------------- /Business/Abstract/ICarImageService.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sugrado/car-rental-dotnet/HEAD/Business/Abstract/ICarImageService.cs -------------------------------------------------------------------------------- /Business/Abstract/ICarService.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sugrado/car-rental-dotnet/HEAD/Business/Abstract/ICarService.cs -------------------------------------------------------------------------------- /Business/Abstract/IColorService.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sugrado/car-rental-dotnet/HEAD/Business/Abstract/IColorService.cs -------------------------------------------------------------------------------- /Business/Abstract/ICreditCardService.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sugrado/car-rental-dotnet/HEAD/Business/Abstract/ICreditCardService.cs -------------------------------------------------------------------------------- /Business/Abstract/ICustomerService.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sugrado/car-rental-dotnet/HEAD/Business/Abstract/ICustomerService.cs -------------------------------------------------------------------------------- /Business/Abstract/IRentalService.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sugrado/car-rental-dotnet/HEAD/Business/Abstract/IRentalService.cs -------------------------------------------------------------------------------- /Business/Abstract/IUserService.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sugrado/car-rental-dotnet/HEAD/Business/Abstract/IUserService.cs -------------------------------------------------------------------------------- /Business/Business.csproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sugrado/car-rental-dotnet/HEAD/Business/Business.csproj -------------------------------------------------------------------------------- /Business/BusinessAspects/Autofac/SecuredOperation.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sugrado/car-rental-dotnet/HEAD/Business/BusinessAspects/Autofac/SecuredOperation.cs -------------------------------------------------------------------------------- /Business/Concrete/AuthManager.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sugrado/car-rental-dotnet/HEAD/Business/Concrete/AuthManager.cs -------------------------------------------------------------------------------- /Business/Concrete/BrandManager.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sugrado/car-rental-dotnet/HEAD/Business/Concrete/BrandManager.cs -------------------------------------------------------------------------------- /Business/Concrete/CarImageManager.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sugrado/car-rental-dotnet/HEAD/Business/Concrete/CarImageManager.cs -------------------------------------------------------------------------------- /Business/Concrete/CarManager.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sugrado/car-rental-dotnet/HEAD/Business/Concrete/CarManager.cs -------------------------------------------------------------------------------- /Business/Concrete/ColorManager.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sugrado/car-rental-dotnet/HEAD/Business/Concrete/ColorManager.cs -------------------------------------------------------------------------------- /Business/Concrete/CreditCardManager.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sugrado/car-rental-dotnet/HEAD/Business/Concrete/CreditCardManager.cs -------------------------------------------------------------------------------- /Business/Concrete/CustomerManager.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sugrado/car-rental-dotnet/HEAD/Business/Concrete/CustomerManager.cs -------------------------------------------------------------------------------- /Business/Concrete/RentalManager.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sugrado/car-rental-dotnet/HEAD/Business/Concrete/RentalManager.cs -------------------------------------------------------------------------------- /Business/Concrete/UserManager.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sugrado/car-rental-dotnet/HEAD/Business/Concrete/UserManager.cs -------------------------------------------------------------------------------- /Business/Constants/Messages.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sugrado/car-rental-dotnet/HEAD/Business/Constants/Messages.cs -------------------------------------------------------------------------------- /Business/DependencyResolvers/Autofac/AutofacBusinessModule.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sugrado/car-rental-dotnet/HEAD/Business/DependencyResolvers/Autofac/AutofacBusinessModule.cs -------------------------------------------------------------------------------- /Business/ValidationRules/FluentValdiation/BrandValidator.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sugrado/car-rental-dotnet/HEAD/Business/ValidationRules/FluentValdiation/BrandValidator.cs -------------------------------------------------------------------------------- /Business/ValidationRules/FluentValdiation/CarImageValidator.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sugrado/car-rental-dotnet/HEAD/Business/ValidationRules/FluentValdiation/CarImageValidator.cs -------------------------------------------------------------------------------- /Business/ValidationRules/FluentValdiation/CarValidator.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sugrado/car-rental-dotnet/HEAD/Business/ValidationRules/FluentValdiation/CarValidator.cs -------------------------------------------------------------------------------- /Business/ValidationRules/FluentValdiation/ColorValidator.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sugrado/car-rental-dotnet/HEAD/Business/ValidationRules/FluentValdiation/ColorValidator.cs -------------------------------------------------------------------------------- /Business/ValidationRules/FluentValdiation/CreditCardValidator.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sugrado/car-rental-dotnet/HEAD/Business/ValidationRules/FluentValdiation/CreditCardValidator.cs -------------------------------------------------------------------------------- /Business/ValidationRules/FluentValdiation/CustomerValidator.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sugrado/car-rental-dotnet/HEAD/Business/ValidationRules/FluentValdiation/CustomerValidator.cs -------------------------------------------------------------------------------- /Business/ValidationRules/FluentValdiation/RentalValidator.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sugrado/car-rental-dotnet/HEAD/Business/ValidationRules/FluentValdiation/RentalValidator.cs -------------------------------------------------------------------------------- /Business/ValidationRules/FluentValdiation/UserValidator.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sugrado/car-rental-dotnet/HEAD/Business/ValidationRules/FluentValdiation/UserValidator.cs -------------------------------------------------------------------------------- /ConsoleUI/ConsoleUI.csproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sugrado/car-rental-dotnet/HEAD/ConsoleUI/ConsoleUI.csproj -------------------------------------------------------------------------------- /ConsoleUI/Program.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sugrado/car-rental-dotnet/HEAD/ConsoleUI/Program.cs -------------------------------------------------------------------------------- /Core/Aspects/Autofac/Caching/CacheAspect.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sugrado/car-rental-dotnet/HEAD/Core/Aspects/Autofac/Caching/CacheAspect.cs -------------------------------------------------------------------------------- /Core/Aspects/Autofac/Caching/CacheRemoveAspect.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sugrado/car-rental-dotnet/HEAD/Core/Aspects/Autofac/Caching/CacheRemoveAspect.cs -------------------------------------------------------------------------------- /Core/Aspects/Autofac/Performance/PerformanceAspect.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sugrado/car-rental-dotnet/HEAD/Core/Aspects/Autofac/Performance/PerformanceAspect.cs -------------------------------------------------------------------------------- /Core/Aspects/Autofac/Transaction/TransactionScopeAspect.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sugrado/car-rental-dotnet/HEAD/Core/Aspects/Autofac/Transaction/TransactionScopeAspect.cs -------------------------------------------------------------------------------- /Core/Aspects/Autofac/Validation/ValidationAspect.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sugrado/car-rental-dotnet/HEAD/Core/Aspects/Autofac/Validation/ValidationAspect.cs -------------------------------------------------------------------------------- /Core/Core.csproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sugrado/car-rental-dotnet/HEAD/Core/Core.csproj -------------------------------------------------------------------------------- /Core/CrossCuttingConcers/Caching/ICacheManager.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sugrado/car-rental-dotnet/HEAD/Core/CrossCuttingConcers/Caching/ICacheManager.cs -------------------------------------------------------------------------------- /Core/CrossCuttingConcers/Caching/Microsoft/MemoryCacheManager.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sugrado/car-rental-dotnet/HEAD/Core/CrossCuttingConcers/Caching/Microsoft/MemoryCacheManager.cs -------------------------------------------------------------------------------- /Core/CrossCuttingConcers/Validation/FluentValidation/ValidationTool.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sugrado/car-rental-dotnet/HEAD/Core/CrossCuttingConcers/Validation/FluentValidation/ValidationTool.cs -------------------------------------------------------------------------------- /Core/DataAccess/EntityFramework/EfEntityRepositoryBase.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sugrado/car-rental-dotnet/HEAD/Core/DataAccess/EntityFramework/EfEntityRepositoryBase.cs -------------------------------------------------------------------------------- /Core/DataAccess/IEntityRepository.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sugrado/car-rental-dotnet/HEAD/Core/DataAccess/IEntityRepository.cs -------------------------------------------------------------------------------- /Core/DependencyResolvers/CoreModule.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sugrado/car-rental-dotnet/HEAD/Core/DependencyResolvers/CoreModule.cs -------------------------------------------------------------------------------- /Core/Entities/Concrete/OperationClaim.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sugrado/car-rental-dotnet/HEAD/Core/Entities/Concrete/OperationClaim.cs -------------------------------------------------------------------------------- /Core/Entities/Concrete/User.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sugrado/car-rental-dotnet/HEAD/Core/Entities/Concrete/User.cs -------------------------------------------------------------------------------- /Core/Entities/Concrete/UserOperationClaim.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sugrado/car-rental-dotnet/HEAD/Core/Entities/Concrete/UserOperationClaim.cs -------------------------------------------------------------------------------- /Core/Entities/IDto.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sugrado/car-rental-dotnet/HEAD/Core/Entities/IDto.cs -------------------------------------------------------------------------------- /Core/Entities/IEntity.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sugrado/car-rental-dotnet/HEAD/Core/Entities/IEntity.cs -------------------------------------------------------------------------------- /Core/Extensions/ClaimExtensions.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sugrado/car-rental-dotnet/HEAD/Core/Extensions/ClaimExtensions.cs -------------------------------------------------------------------------------- /Core/Extensions/ClaimsPrincipalExtensions.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sugrado/car-rental-dotnet/HEAD/Core/Extensions/ClaimsPrincipalExtensions.cs -------------------------------------------------------------------------------- /Core/Extensions/ErrorDetails.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sugrado/car-rental-dotnet/HEAD/Core/Extensions/ErrorDetails.cs -------------------------------------------------------------------------------- /Core/Extensions/ExceptionMiddleware.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sugrado/car-rental-dotnet/HEAD/Core/Extensions/ExceptionMiddleware.cs -------------------------------------------------------------------------------- /Core/Extensions/ExceptionMiddlewareExtensions.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sugrado/car-rental-dotnet/HEAD/Core/Extensions/ExceptionMiddlewareExtensions.cs -------------------------------------------------------------------------------- /Core/Extensions/ServiceCollectionExtensions.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sugrado/car-rental-dotnet/HEAD/Core/Extensions/ServiceCollectionExtensions.cs -------------------------------------------------------------------------------- /Core/Utilities/Business/BusinessRules.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sugrado/car-rental-dotnet/HEAD/Core/Utilities/Business/BusinessRules.cs -------------------------------------------------------------------------------- /Core/Utilities/FileHelper/FileHelper.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sugrado/car-rental-dotnet/HEAD/Core/Utilities/FileHelper/FileHelper.cs -------------------------------------------------------------------------------- /Core/Utilities/Helpers/FileHelper.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sugrado/car-rental-dotnet/HEAD/Core/Utilities/Helpers/FileHelper.cs -------------------------------------------------------------------------------- /Core/Utilities/Interceptors/AspectInterceptorSelector.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sugrado/car-rental-dotnet/HEAD/Core/Utilities/Interceptors/AspectInterceptorSelector.cs -------------------------------------------------------------------------------- /Core/Utilities/Interceptors/MethodInterception.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sugrado/car-rental-dotnet/HEAD/Core/Utilities/Interceptors/MethodInterception.cs -------------------------------------------------------------------------------- /Core/Utilities/Interceptors/MethodInterceptionBaseAttribute.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sugrado/car-rental-dotnet/HEAD/Core/Utilities/Interceptors/MethodInterceptionBaseAttribute.cs -------------------------------------------------------------------------------- /Core/Utilities/IoC/ICoreModule.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sugrado/car-rental-dotnet/HEAD/Core/Utilities/IoC/ICoreModule.cs -------------------------------------------------------------------------------- /Core/Utilities/IoC/ServiceTool.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sugrado/car-rental-dotnet/HEAD/Core/Utilities/IoC/ServiceTool.cs -------------------------------------------------------------------------------- /Core/Utilities/Results/DataResult.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sugrado/car-rental-dotnet/HEAD/Core/Utilities/Results/DataResult.cs -------------------------------------------------------------------------------- /Core/Utilities/Results/ErrorDataResult.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sugrado/car-rental-dotnet/HEAD/Core/Utilities/Results/ErrorDataResult.cs -------------------------------------------------------------------------------- /Core/Utilities/Results/ErrorResult.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sugrado/car-rental-dotnet/HEAD/Core/Utilities/Results/ErrorResult.cs -------------------------------------------------------------------------------- /Core/Utilities/Results/IDataResult.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sugrado/car-rental-dotnet/HEAD/Core/Utilities/Results/IDataResult.cs -------------------------------------------------------------------------------- /Core/Utilities/Results/IResult.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sugrado/car-rental-dotnet/HEAD/Core/Utilities/Results/IResult.cs -------------------------------------------------------------------------------- /Core/Utilities/Results/Result.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sugrado/car-rental-dotnet/HEAD/Core/Utilities/Results/Result.cs -------------------------------------------------------------------------------- /Core/Utilities/Results/SuccessDataResult.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sugrado/car-rental-dotnet/HEAD/Core/Utilities/Results/SuccessDataResult.cs -------------------------------------------------------------------------------- /Core/Utilities/Results/SuccessResult.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sugrado/car-rental-dotnet/HEAD/Core/Utilities/Results/SuccessResult.cs -------------------------------------------------------------------------------- /Core/Utilities/Security/Encryption/SecurityKeyHelper.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sugrado/car-rental-dotnet/HEAD/Core/Utilities/Security/Encryption/SecurityKeyHelper.cs -------------------------------------------------------------------------------- /Core/Utilities/Security/Encryption/SigningCredentialsHelper.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sugrado/car-rental-dotnet/HEAD/Core/Utilities/Security/Encryption/SigningCredentialsHelper.cs -------------------------------------------------------------------------------- /Core/Utilities/Security/Hashing/HashingHelper.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sugrado/car-rental-dotnet/HEAD/Core/Utilities/Security/Hashing/HashingHelper.cs -------------------------------------------------------------------------------- /Core/Utilities/Security/JWT/AccessToken.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sugrado/car-rental-dotnet/HEAD/Core/Utilities/Security/JWT/AccessToken.cs -------------------------------------------------------------------------------- /Core/Utilities/Security/JWT/ITokenHelper.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sugrado/car-rental-dotnet/HEAD/Core/Utilities/Security/JWT/ITokenHelper.cs -------------------------------------------------------------------------------- /Core/Utilities/Security/JWT/JwtHelper.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sugrado/car-rental-dotnet/HEAD/Core/Utilities/Security/JWT/JwtHelper.cs -------------------------------------------------------------------------------- /Core/Utilities/Security/JWT/TokenOptions.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sugrado/car-rental-dotnet/HEAD/Core/Utilities/Security/JWT/TokenOptions.cs -------------------------------------------------------------------------------- /DataAccess/Abstract/IBrandDal.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sugrado/car-rental-dotnet/HEAD/DataAccess/Abstract/IBrandDal.cs -------------------------------------------------------------------------------- /DataAccess/Abstract/ICarDal.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sugrado/car-rental-dotnet/HEAD/DataAccess/Abstract/ICarDal.cs -------------------------------------------------------------------------------- /DataAccess/Abstract/ICarImageDal.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sugrado/car-rental-dotnet/HEAD/DataAccess/Abstract/ICarImageDal.cs -------------------------------------------------------------------------------- /DataAccess/Abstract/IColorDal.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sugrado/car-rental-dotnet/HEAD/DataAccess/Abstract/IColorDal.cs -------------------------------------------------------------------------------- /DataAccess/Abstract/ICreditCardDal.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sugrado/car-rental-dotnet/HEAD/DataAccess/Abstract/ICreditCardDal.cs -------------------------------------------------------------------------------- /DataAccess/Abstract/ICustomerDal.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sugrado/car-rental-dotnet/HEAD/DataAccess/Abstract/ICustomerDal.cs -------------------------------------------------------------------------------- /DataAccess/Abstract/IRentalDal.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sugrado/car-rental-dotnet/HEAD/DataAccess/Abstract/IRentalDal.cs -------------------------------------------------------------------------------- /DataAccess/Abstract/IUserDal.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sugrado/car-rental-dotnet/HEAD/DataAccess/Abstract/IUserDal.cs -------------------------------------------------------------------------------- /DataAccess/Concrete/EntityFramework/CarsinfoContext.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sugrado/car-rental-dotnet/HEAD/DataAccess/Concrete/EntityFramework/CarsinfoContext.cs -------------------------------------------------------------------------------- /DataAccess/Concrete/EntityFramework/EfBrandDal.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sugrado/car-rental-dotnet/HEAD/DataAccess/Concrete/EntityFramework/EfBrandDal.cs -------------------------------------------------------------------------------- /DataAccess/Concrete/EntityFramework/EfCarDal.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sugrado/car-rental-dotnet/HEAD/DataAccess/Concrete/EntityFramework/EfCarDal.cs -------------------------------------------------------------------------------- /DataAccess/Concrete/EntityFramework/EfCarImageDal.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sugrado/car-rental-dotnet/HEAD/DataAccess/Concrete/EntityFramework/EfCarImageDal.cs -------------------------------------------------------------------------------- /DataAccess/Concrete/EntityFramework/EfColorDal.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sugrado/car-rental-dotnet/HEAD/DataAccess/Concrete/EntityFramework/EfColorDal.cs -------------------------------------------------------------------------------- /DataAccess/Concrete/EntityFramework/EfCreditCardDal.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sugrado/car-rental-dotnet/HEAD/DataAccess/Concrete/EntityFramework/EfCreditCardDal.cs -------------------------------------------------------------------------------- /DataAccess/Concrete/EntityFramework/EfCustomerDal.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sugrado/car-rental-dotnet/HEAD/DataAccess/Concrete/EntityFramework/EfCustomerDal.cs -------------------------------------------------------------------------------- /DataAccess/Concrete/EntityFramework/EfRentalDal.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sugrado/car-rental-dotnet/HEAD/DataAccess/Concrete/EntityFramework/EfRentalDal.cs -------------------------------------------------------------------------------- /DataAccess/Concrete/EntityFramework/EfUserDal.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sugrado/car-rental-dotnet/HEAD/DataAccess/Concrete/EntityFramework/EfUserDal.cs -------------------------------------------------------------------------------- /DataAccess/Concrete/InMemory/InMemoryCarDal.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sugrado/car-rental-dotnet/HEAD/DataAccess/Concrete/InMemory/InMemoryCarDal.cs -------------------------------------------------------------------------------- /DataAccess/DataAccess.csproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sugrado/car-rental-dotnet/HEAD/DataAccess/DataAccess.csproj -------------------------------------------------------------------------------- /Entities/Concrete/Brand.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sugrado/car-rental-dotnet/HEAD/Entities/Concrete/Brand.cs -------------------------------------------------------------------------------- /Entities/Concrete/Car.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sugrado/car-rental-dotnet/HEAD/Entities/Concrete/Car.cs -------------------------------------------------------------------------------- /Entities/Concrete/CarImage.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sugrado/car-rental-dotnet/HEAD/Entities/Concrete/CarImage.cs -------------------------------------------------------------------------------- /Entities/Concrete/Color.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sugrado/car-rental-dotnet/HEAD/Entities/Concrete/Color.cs -------------------------------------------------------------------------------- /Entities/Concrete/CreditCard.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sugrado/car-rental-dotnet/HEAD/Entities/Concrete/CreditCard.cs -------------------------------------------------------------------------------- /Entities/Concrete/Customer.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sugrado/car-rental-dotnet/HEAD/Entities/Concrete/Customer.cs -------------------------------------------------------------------------------- /Entities/Concrete/Rental.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sugrado/car-rental-dotnet/HEAD/Entities/Concrete/Rental.cs -------------------------------------------------------------------------------- /Entities/DTOs/CarDetailDto.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sugrado/car-rental-dotnet/HEAD/Entities/DTOs/CarDetailDto.cs -------------------------------------------------------------------------------- /Entities/DTOs/ChangePasswordDto.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sugrado/car-rental-dotnet/HEAD/Entities/DTOs/ChangePasswordDto.cs -------------------------------------------------------------------------------- /Entities/DTOs/CustomerDetailDto.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sugrado/car-rental-dotnet/HEAD/Entities/DTOs/CustomerDetailDto.cs -------------------------------------------------------------------------------- /Entities/DTOs/RentalDetailDto.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sugrado/car-rental-dotnet/HEAD/Entities/DTOs/RentalDetailDto.cs -------------------------------------------------------------------------------- /Entities/DTOs/UserForLoginDto.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sugrado/car-rental-dotnet/HEAD/Entities/DTOs/UserForLoginDto.cs -------------------------------------------------------------------------------- /Entities/DTOs/UserForRegisterDto.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sugrado/car-rental-dotnet/HEAD/Entities/DTOs/UserForRegisterDto.cs -------------------------------------------------------------------------------- /Entities/Entities.csproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sugrado/car-rental-dotnet/HEAD/Entities/Entities.csproj -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sugrado/car-rental-dotnet/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sugrado/car-rental-dotnet/HEAD/README.md -------------------------------------------------------------------------------- /WebAPI/Controllers/AuthController.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sugrado/car-rental-dotnet/HEAD/WebAPI/Controllers/AuthController.cs -------------------------------------------------------------------------------- /WebAPI/Controllers/BrandsController.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sugrado/car-rental-dotnet/HEAD/WebAPI/Controllers/BrandsController.cs -------------------------------------------------------------------------------- /WebAPI/Controllers/CarsController.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sugrado/car-rental-dotnet/HEAD/WebAPI/Controllers/CarsController.cs -------------------------------------------------------------------------------- /WebAPI/Controllers/ColorsController.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sugrado/car-rental-dotnet/HEAD/WebAPI/Controllers/ColorsController.cs -------------------------------------------------------------------------------- /WebAPI/Controllers/CreditCardsController.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sugrado/car-rental-dotnet/HEAD/WebAPI/Controllers/CreditCardsController.cs -------------------------------------------------------------------------------- /WebAPI/Controllers/CustomersController.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sugrado/car-rental-dotnet/HEAD/WebAPI/Controllers/CustomersController.cs -------------------------------------------------------------------------------- /WebAPI/Controllers/ImageUploadsController.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sugrado/car-rental-dotnet/HEAD/WebAPI/Controllers/ImageUploadsController.cs -------------------------------------------------------------------------------- /WebAPI/Controllers/RentalsController.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sugrado/car-rental-dotnet/HEAD/WebAPI/Controllers/RentalsController.cs -------------------------------------------------------------------------------- /WebAPI/Controllers/UsersController.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sugrado/car-rental-dotnet/HEAD/WebAPI/Controllers/UsersController.cs -------------------------------------------------------------------------------- /WebAPI/Program.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sugrado/car-rental-dotnet/HEAD/WebAPI/Program.cs -------------------------------------------------------------------------------- /WebAPI/Properties/launchSettings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sugrado/car-rental-dotnet/HEAD/WebAPI/Properties/launchSettings.json -------------------------------------------------------------------------------- /WebAPI/Startup.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sugrado/car-rental-dotnet/HEAD/WebAPI/Startup.cs -------------------------------------------------------------------------------- /WebAPI/WebAPI.csproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sugrado/car-rental-dotnet/HEAD/WebAPI/WebAPI.csproj -------------------------------------------------------------------------------- /WebAPI/appsettings.Development.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sugrado/car-rental-dotnet/HEAD/WebAPI/appsettings.Development.json -------------------------------------------------------------------------------- /WebAPI/appsettings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sugrado/car-rental-dotnet/HEAD/WebAPI/appsettings.json -------------------------------------------------------------------------------- /WebAPI/wwwroot/Images/0ab89a81ad9f447186c7fc81867f46c5.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sugrado/car-rental-dotnet/HEAD/WebAPI/wwwroot/Images/0ab89a81ad9f447186c7fc81867f46c5.jpg -------------------------------------------------------------------------------- /WebAPI/wwwroot/Images/11f66ad69772402ea35d163cf32ef3dc.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sugrado/car-rental-dotnet/HEAD/WebAPI/wwwroot/Images/11f66ad69772402ea35d163cf32ef3dc.jpg -------------------------------------------------------------------------------- /WebAPI/wwwroot/Images/1a584f73aa1c424da8f08472a5dd6f99.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sugrado/car-rental-dotnet/HEAD/WebAPI/wwwroot/Images/1a584f73aa1c424da8f08472a5dd6f99.png -------------------------------------------------------------------------------- /WebAPI/wwwroot/Images/1b3025f457a54cbabbb096685ef9ecb0.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sugrado/car-rental-dotnet/HEAD/WebAPI/wwwroot/Images/1b3025f457a54cbabbb096685ef9ecb0.png -------------------------------------------------------------------------------- /WebAPI/wwwroot/Images/45b80eb1d42a4a91841608e44fb6d448.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sugrado/car-rental-dotnet/HEAD/WebAPI/wwwroot/Images/45b80eb1d42a4a91841608e44fb6d448.jpg -------------------------------------------------------------------------------- /WebAPI/wwwroot/Images/50a694482f9c490cb30e1ec3a7c67fbe.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sugrado/car-rental-dotnet/HEAD/WebAPI/wwwroot/Images/50a694482f9c490cb30e1ec3a7c67fbe.png -------------------------------------------------------------------------------- /WebAPI/wwwroot/Images/5be35b1ac7994039beb0d98e5e339ebf.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sugrado/car-rental-dotnet/HEAD/WebAPI/wwwroot/Images/5be35b1ac7994039beb0d98e5e339ebf.jpg -------------------------------------------------------------------------------- /WebAPI/wwwroot/Images/5d94772edf42456098e5e20847bda5a7.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sugrado/car-rental-dotnet/HEAD/WebAPI/wwwroot/Images/5d94772edf42456098e5e20847bda5a7.jpg -------------------------------------------------------------------------------- /WebAPI/wwwroot/Images/65bd04af1cac44e6945415318b3878cb.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sugrado/car-rental-dotnet/HEAD/WebAPI/wwwroot/Images/65bd04af1cac44e6945415318b3878cb.jpg -------------------------------------------------------------------------------- /WebAPI/wwwroot/Images/958f2e59d76d407a8d708642a15711d0.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sugrado/car-rental-dotnet/HEAD/WebAPI/wwwroot/Images/958f2e59d76d407a8d708642a15711d0.jpg -------------------------------------------------------------------------------- /WebAPI/wwwroot/Images/c8df5cf366814596a27a9e89982eb45b.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sugrado/car-rental-dotnet/HEAD/WebAPI/wwwroot/Images/c8df5cf366814596a27a9e89982eb45b.png -------------------------------------------------------------------------------- /WebAPI/wwwroot/Images/c99aaf71101641fba9621ebd9a3beddf.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sugrado/car-rental-dotnet/HEAD/WebAPI/wwwroot/Images/c99aaf71101641fba9621ebd9a3beddf.webp -------------------------------------------------------------------------------- /WebAPI/wwwroot/Images/d06dff8dfffa42d1bc3ee826fcabb00f.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sugrado/car-rental-dotnet/HEAD/WebAPI/wwwroot/Images/d06dff8dfffa42d1bc3ee826fcabb00f.jpg -------------------------------------------------------------------------------- /WebAPI/wwwroot/Images/default.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sugrado/car-rental-dotnet/HEAD/WebAPI/wwwroot/Images/default.png -------------------------------------------------------------------------------- /WebAPI/wwwroot/Images/e13aaef0bda34d428296f2d7845338c5.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sugrado/car-rental-dotnet/HEAD/WebAPI/wwwroot/Images/e13aaef0bda34d428296f2d7845338c5.jpg -------------------------------------------------------------------------------- /WebAPI/wwwroot/Images/e5c4afe3a0e547e3a8f65311dc063e76.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sugrado/car-rental-dotnet/HEAD/WebAPI/wwwroot/Images/e5c4afe3a0e547e3a8f65311dc063e76.jpg -------------------------------------------------------------------------------- /multitier_architecture.sln: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sugrado/car-rental-dotnet/HEAD/multitier_architecture.sln --------------------------------------------------------------------------------