Example #1
0
 public RentController(IRentRepository repoRent, ICarRepository repoCar, ICustomerRepository repoCustomer, IOwnerRepository repoOwner, ICarModelRepository repoCarModel, IApiRentRepository repoRentApi, ILogRepository repoLog)
 {
     RepoRent     = repoRent;
     RepoCar      = repoCar;
     RepoCustomer = repoCustomer;
     RepoOwner    = repoOwner;
     RepoCarModel = repoCarModel;
     RepoApiRent  = repoRentApi;
     RepoLog      = repoLog;
 }
Example #2
0
 public ConfirmRentController(IApiRentRepository repoApiRent, IRentRepository repoRent)
 {
     RepoApiRent = repoApiRent;
     RepoRent    = repoRent;
 }
Example #3
0
 public DashboardApiController(IApiRentRepository repoRentApi)
 {
     RepoRentApi = repoRentApi;
 }