public CounselorsController(RoleManager <IdentityRole> roleManager, UserManager <ApplicationUser> userManager, IUserCounselorRepository ICounselorRepository) { this.roleManager = roleManager; this.userManager = userManager; this.ICounselorRepository = ICounselorRepository; }
public AppointmentController(UserManager <ApplicationUser> userManager, IAppointmentRepository appointmentRepository, IUserCounselorRepository ICounselorRepository, SignInManager <ApplicationUser> signInManager, RoleManager <IdentityRole> roleManager, AppDbContext context) { this.userManager = userManager; this.appointmentRepository = appointmentRepository; this.ICounselorRepository = ICounselorRepository; this.signInManager = signInManager; this.roleManager = roleManager; this.context = context; }