예제 #1
0
 public LoginModel(SignInManager <ApplicationUser> signInManager, ILogger <LoginModel> logger, UserManager <ApplicationUser> userManager, ILocationLocator locator)
 {
     this.userManager   = userManager;
     this.locator       = locator;
     this.signInManager = signInManager;
     this.logger        = logger;
 }
 // made for learning purpose
 // not used anywere -> replaced by SetLocation middleware
 public SetLocationResourceFilter(ILocationLocator locationLocator)
 {
     this.locationLocator = locationLocator;
 }