Exemple #1
0
 public DriverService(IDriverRepository driverRepository, IDepartmentRepository departmentRepository, IDriverLicenseRepository driverLicenseRepository, IUnitOfWork unitOfWork)
 {
     this._departmentRepository    = departmentRepository;
     this._driverRepository        = driverRepository;
     this._driverLicenseRepository = driverLicenseRepository;
     this._unitOfWork = unitOfWork;
 }
 public ApplicantDriverLicensesController(IApplicantRepository applicantRepository, IDriverLicenseRepository driverlicenseRepository, ICountryRepository countryRepository, IStateRepository stateRepository, IUserRepository userRepository, IApplicantDriverLicenseRepository applicantdriverlicenseRepository)
 {
     this.applicantRepository = applicantRepository;
     this.driverlicenseRepository = driverlicenseRepository;
     this.countryRepository = countryRepository;
     this.stateRepository = stateRepository;
     this.userRepository = userRepository;
     this.applicantdriverlicenseRepository = applicantdriverlicenseRepository;
 }
 public DriverLicenseService(IDriverLicenseRepository driverLicenseRepository,
                             IDriverLicenseUpdateRepository driverLicenseUpdateRepository,
                             IDriverRepository driverRepository,
                             ILicenseRepository licenseRepository,
                             IUnitOfWork unitOfWork)
 {
     _driverLicenseRepository       = driverLicenseRepository;
     _driverLicenseUpdateRepository = driverLicenseUpdateRepository;
     _driverRepository  = driverRepository;
     _licenseRepository = licenseRepository;
     _unitOfWork        = unitOfWork;
 }
 public DriverLicenseController(IDriverLicenseRepository driverlicenseRepository)
 {
     this.driverlicenseRepository = driverlicenseRepository;
 }