public AccountController(IEncryptData iEncryptData,
                          IPasswordService iPasswordService,
                          ICreateUserAccount iCreateUserAccount,
                          IProfile iProfile,
                          IValidateLogin iValidateLogin)
 {
     _iEncryptData       = iEncryptData;
     _iPasswordService   = iPasswordService;
     _iCreateUserAccount = iCreateUserAccount;
     _iProfile           = iProfile;
     _iValidateLogin     = iValidateLogin;
 }
 public IdentidadeController(SignInManager <IdentityUser> signInManager,
                             UserManager <IdentityUser> userManager,
                             IRegistrarUsuario registrarUsuario,
                             IOptions <AppSettings> appSettings,
                             IdentidadeAmandaStoreContext storeContext,
                             IValidateLogin validateLogin)
 {
     _signInManager    = signInManager;
     _userManager      = userManager;
     _registrarUsuario = registrarUsuario;
     _appSettings      = appSettings.Value;
     _DbIdentity       = storeContext;
     _validateLogin    = validateLogin;
 }