public PaymentsController(Buy_Recipes_DataContext context, SignInManager <IdentityUser> SignInManager, UserManager <IdentityUser> UserManager ) { this.SignInManager = SignInManager; this.UserManager = UserManager; _context = context; }
public RegisterModel( UserManager <IdentityUser> userManager, SignInManager <IdentityUser> signInManager, ILogger <RegisterModel> logger, IEmailSender emailSender, Buy_Recipes_IdentityContext _context, Buy_Recipes_DataContext _dataContext ) { dataContext = _dataContext; _userManager = userManager; _signInManager = signInManager; _logger = logger; _emailSender = emailSender; var roleStore = new RoleStore <IdentityRole>(_context); _roleManager = new RoleManager <IdentityRole>(roleStore, null, null, null, null); }
public CustomersController(Buy_Recipes_DataContext context) { _context = context; }
public RecipesController(Buy_Recipes_DataContext context) { _context = context; }