public HomeController(IEmployeeRepository employeeRepository, IAccountRepository accountRepository, IPersonRepository personRepository, IHostingEnvironment hostingEnvironment, IDoctorsScheduleRepository doctorsScheduleRepository)
 {
     _employeeRepository        = employeeRepository;
     _accountRepository         = accountRepository;
     _personRepository          = personRepository;
     this.hostingEnvironment    = hostingEnvironment;
     _doctorsScheduleRepository = doctorsScheduleRepository;
 }
Esempio n. 2
0
 public EmployeesController(UserManager <ApplicationUser> userManager, SignInManager <ApplicationUser> signInManager, IEmployeeRepository employeeRepository, IHostingEnvironment hostingEnvironment, IPersonRepository personRepository, IAccountRepository accountRepository, ISpecialityRepository specialityRepository, IPositionRepository positionRepository, IDoctorsScheduleRepository doctorsScheduleRepository)
 {
     this.userManager           = userManager;
     this.signInManager         = signInManager;
     this.hostingEnvironment    = hostingEnvironment;
     _personRepository          = personRepository;
     _employeeRepository        = employeeRepository;
     _accountRepository         = accountRepository;
     _specialityRepository      = specialityRepository;
     _positionRepository        = positionRepository;
     _doctorsScheduleRepository = doctorsScheduleRepository;
 }