Пример #1
0
 public BookingController(ILogRepository repoLog, ICustomerRepository repoCustomer, IDriverRepository repoDriver,
                          ICarModelRepository repoCarModel, ICarRepository repoCar, IRentRepository repoRent, IOwnerRepository repoOwner,
                          IInvoiceRepository repoInvoice, IRentPositionRepository repoRentPosition, ICityRepository repoCityPosition, IDummyNotificationRepository repoDummyNotification, ICarPackageRepository repoCarPackage)
     : base(repoLog)
 {
     RepoCustomer          = repoCustomer;
     RepoDriver            = repoDriver;
     RepoCarModel          = repoCarModel;
     RepoCar               = repoCar;
     RepoRent              = repoRent;
     RepoOwner             = repoOwner;
     RepoInvoice           = repoInvoice;
     RepoRentPosition      = repoRentPosition;
     RepoCityPosition      = repoCityPosition;
     RepoDummyNotification = repoDummyNotification;
     RepoCarPackage        = repoCarPackage;
 }
Пример #2
0
 public DriverPositionController(IRentRepository repoRent, IDriverRepository repoDriver, IRentPositionRepository repoPos)
 {
     RepoRent   = repoRent;
     RepoDriver = repoDriver;
     RepoPos    = repoPos;
 }