//------------- CONSTRUCTORS -------------- /// <summary> /// Initializes a new <see cref="OperatingLocationsService"/>. /// </summary> /// <param name="dbContext">Database context</param> public OperatingLocationsService(ApplicationDbContext dbContext, IDepartmentsService departmentsService, IPhonesService phonesService, IEmployeesService employeesService) { this.dbContext = dbContext; this.departmentsService = departmentsService; this.phonesService = phonesService; this.employeesService = employeesService; }
public DoctorsService(HealthDbContext db, IAddressesService addressesService, IPhonesService phonesService, IEmailsService emailsService) { this.db = db; this.phonesService = phonesService; this.addressesService = addressesService; this.emailsService = emailsService; }
//------------- CONSTRUCTORS -------------- public DepartmentsController(IPhonesService phonesService, IDepartmentsService departmentsService) { this.phonesService = phonesService; this.departmentsService = departmentsService; this.unifiedModel = new DepartmentPhoneUnifiedModel { PhoneInputModel = new PhoneInputModel(), DepartmentInputModel = new DepartmentInputModel(), }; }
public PersonsService(HealthDbContext db, IAddressesService addressesService, IPhonesService phonesService, IEmailsService emailsService, IRelativesService relativesService) { this.db = db; this.addressesService = addressesService; this.phonesService = phonesService; this.emailsService = emailsService; this.relativesService = relativesService; }
public PhonesController(IPhonesService phonesSvc) { PhonesSvc = phonesSvc; }
//------------- CONSTRUCTORS -------------- public DepartmentsService(ApplicationDbContext dbContext, IPhonesService phonesService) { this.dbContext = dbContext; this.phonesService = phonesService; }
public PhoneController(IPhonesService phonesService) { _phonesService = phonesService; }
//------------- CONSTRUCTORS -------------- public PhonesController(IPhonesService phonesService) { this.phonesService = phonesService; }
public PhonesController(IPhonesService context, IMapper mapper) { _phonesService = context; _mapper = mapper; }