public AuthController(TokenAuthOptions tokenOptions, UserManager <ApplicationUser> userManager, SignInManager <ApplicationUser> signInManager, IEmailSender emailSender, IHostingEnvironment environment, IGolfConnectorDbContext db) { this.userManager = userManager; this.signInManager = signInManager; this.tokenOptions = tokenOptions; this.emailSender = emailSender; this.environment = environment; this.db = db; // this.configuration = configuration; baseUrl = "http://localhost:7001/"; // baseUrl = this.configuration.GetSection("Server:BaseUrl").Value; }
public GolfMatchController(UserManager <ApplicationUser> userManager, IHostingEnvironment environment, IGolfConnectorDbContext db) { this.userManager = userManager; this.environment = environment; _db = db; }
public UserController(IHostingEnvironment environment, IGolfConnectorDbContext db, UserManager <ApplicationUser> userManager) { _environment = environment; this.userManager = userManager; _db = db; }