public MedicsController(RoleManager <IdentityRole> roleManager, UserManager <IdentityUser> userManager, ILogger <AdministrationController> logger, ApplicationDbContext context, IGetMedicsServices getMedicsServices, IInsertMedicServices insertMedicServices, IUpdateMedicServices updateMedicServices) { this.roleManager = roleManager; this.userManager = userManager; this.Logger = logger; _context = context; _getMedicsServices = getMedicsServices; _insertMedicServices = insertMedicServices; _updateMedicServices = updateMedicServices; }
public TurnsController(UserManager <IdentityUser> userManager, ILogger <TurnsController> logger, IInsertTurnsServices insertTurns, IGetTurnsServices getTurns, IUpdateTurnsServices updateTurns, IGetMedicsServices getMedics, IGetTimeTurnsServices getTimeTurns, IExportService exportService) { _userManager = userManager; _logger = logger; _insertTurns = insertTurns; _getTurns = getTurns; _updateTurns = updateTurns; _getMedics = getMedics; _getTimeTurns = getTimeTurns; _exportService = exportService; }