Пример #1
0
 public AccountController(UserManager <ApplicationUser> userManager,
                          SignInManager <ApplicationUser> signInManager,
                          ILogger <AccountController> logger,
                          IForgotPassword passwordRepo)
 {
     this.userManager   = userManager;
     this.signInManager = signInManager;
     this.logger        = logger;
     this.passwordRepo  = passwordRepo;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="ForgotPasswordController"/> class.
 /// </summary>
 /// <param name="_iforgot">The iforgot.</param>
 public ForgotPasswordController(IForgotPassword _iforgot, IHostingEnvironment _env, IConfiguration _config)
 {
     iforgot = _iforgot;
     env     = _env;
     config  = _config;
 }
Пример #3
0
 public ForgotPasswordController(UserManager <CreateUsers> signinmanager, IEmailSender emailsend, IForgotPassword forgotpass)
 {
     this.signinmanager = signinmanager;
     this.emailsend     = emailsend;
     this.forgotpass    = forgotpass;
 }
Пример #4
0
 public virtual async Task <IResponseResult <IApiResponse <string> > > ForgotPassword(IForgotPassword record)
 {
     return(await HttpClient.SendJsonResponseResultAsync <string, IForgotPassword>(HttpMethod.Post, $"/{ControllerName}/{ForgotPasswordMethod}", record, new ForgotPasswordValidator()));
 }
Пример #5
0
 public ForgotPasswordViewModel(IMvxNavigationService navigationService, IForgotPassword forgotPasswordService)
 {
     _navigationService     = navigationService;
     _forgotPasswordService = forgotPasswordService;
 }
Пример #6
0
 public ForgotPasswordController(IForgotPassword iforgotPassword)
 {
     _iforgotPassword = iforgotPassword;
 }
 public ForgotPasswordController(IForgotPassword context)
 {
     _context = context;
 }
 public ForgotPasswordPresenter(IForgotPassword view, INavigationWorkflow navigation)
 {
     this._view = view;
     this._navigation = navigation;
 }