private AccountController(UserManager<AppUser> userManager,
     ISecureDataFormat<AuthenticationTicket> accessTokenFormat,
     IAuthenticationService iAuthenticationService)
 {
     UserManager = userManager;
     AccessTokenFormat = accessTokenFormat;
     _iAuthenticationService = iAuthenticationService;
 }
 public AccountController(UserManager<AppUser> userManager,
     ISecureDataFormat<AuthenticationTicket> accessTokenFormat, IEmailSender iEmailSender,
     IAuthenticationService iAuthenticationService, IUnitOfWork iUnitOfWork)
 {
     UserManager = userManager;
     AccessTokenFormat = accessTokenFormat;
     _iEmailSender = iEmailSender;
     _iAuthenticationService = iAuthenticationService;
     _iUnitOfWork = iUnitOfWork;
 }