Exemple #1
0
 public ClinicController(IClinicRepository clinicRepository, IDirectorateRepository directorateRepository,
                         UserManager <ApplicationUser> usermanager)
 {
     _clinicRepository      = clinicRepository;
     _directorateRepository = directorateRepository;
     this.usermanager       = usermanager;
 }
 public AccountController(UserManager <ApplicationUser> userManager,
                          SignInManager <ApplicationUser> signInManager,
                          IDirectorateRepository directorateRepositery,
                          IClinicRepository clinicRepository,
                          RoleManager <IdentityRole> roleManager)
 {
     this.userManager           = userManager;
     this.signInManager         = signInManager;
     this.directorateRepositery = directorateRepositery;
     this.clinicRepository      = clinicRepository;
     this.roleManager           = roleManager;
 }
 public DirectorateController(IDirectorateRepository directorateRepository,
                              UserManager <ApplicationUser> userManager)
 {
     _directorateRepository = directorateRepository;
     this.userManager       = userManager;
 }