public ReqDocDrivingCategoryController(IReqDocDrivingCategoryRepository repository, IDrivingCategoryRepository drivingCategoryRepository, IRequiredDocumentRepository requiredDocumentRepository) { this.repository = repository; this.drivingCategoryRepository = drivingCategoryRepository; this.requiredDocumentRepository = requiredDocumentRepository; }
public ReqDocDrivingCategoryController() { this.repository = new ReqDocDrivingCategoryRepository(new SaturnDbContext()); this.drivingCategoryRepository = new DrivingCategoryRepository(new SaturnDbContext()); this.requiredDocumentRepository = new RequiredDocumentRepository(new SaturnDbContext()); }
public CandidatesController() { this.repository = new CandidateRepository(new SaturnDbContext()); this.cityRepository = new CityRepository(new SaturnDbContext()); this.drivingCategoryRepository = new DrivingCategoryRepository(new SaturnDbContext()); }
public CandidatesController(ICandidateRepository repository, ICityRepository cityRepository, IDrivingCategoryRepository drivingCategoryRepository) { this.repository = repository; this.cityRepository = cityRepository; this.drivingCategoryRepository = drivingCategoryRepository; }