public TaskController(ITaskRepository taskRepository, SignInManager <ApplicationUser> signInManager, UserManager <ApplicationUser> userManager, AppDbContext context, IHospitalRepositoy hospitalRepositoy) { this.userManager = userManager; this.hospitalRepositoy = hospitalRepositoy; this.signInManager = signInManager; this.context = context; this.taskRepository = taskRepository; }
public GovermentController( UserManager <ApplicationUser> userManager, IHospitalRepositoy hospitalRepositoy, ICitizenRepository citizenRepository, AppDbContext context, SignInManager <ApplicationUser> signInManager, RoleManager <IdentityRole> roleManager) { this.roleManager = roleManager; this.context = context; this.userManager = userManager; this.signInManager = signInManager; this._hospitalRepository = hospitalRepositoy; this._citizenRepository = citizenRepository; }