public RegisterAdminController(UserManager <ApplicationUser> userManager, RoleManager <IdentityRole> roleManager, IMapper mapper, IMailKitSender mailSender)
 {
     _userManager = userManager;
     _roleManager = roleManager;
     _mapper      = mapper;
     _mailSender  = mailSender;
 }
 public ForgotPasswordController(SignInManager <ApplicationUser> signInManager, UserManager <ApplicationUser> userManager, ISMService smService, IMailKitSender emailSender, RoleManager <IdentityRole> roleManager)
 {
     _signInManager = signInManager;
     _userManager   = userManager;
     _smService     = smService;
     _emailSender   = emailSender;
     _roleManager   = roleManager;
 }