Example #1
0
 public RolesController(
     IRolesService rolesService,
     IUsersService usersService,
     IDoctorsService doctorsService,
     ICareersInfoService careersInfoService)
 {
     this.rolesService       = rolesService;
     this.usersService       = usersService;
     this.doctorsService     = doctorsService;
     this.careersInfoService = careersInfoService;
 }
Example #2
0
 public IndexModel(
     UserManager <ApplicationUser> userManager,
     SignInManager <ApplicationUser> signInManager,
     IUsersService usersService,
     IDoctorsService doctorsService,
     ICareersInfoService careersInfoService,
     ICloudinaryService cloudinaryService,
     IProfilePictureService profilePictureService)
 {
     this._userManager          = userManager;
     this._signInManager        = signInManager;
     this.usersService          = usersService;
     this.careersInfoService    = careersInfoService;
     this.doctorsService        = doctorsService;
     this.cloudinaryService     = cloudinaryService;
     this.profilePictureService = profilePictureService;
 }