Пример #1
0
 public AccountController(UserManager <AppUser> userManager, SignInManager <AppUser> signInManager, VivaniDbContext context, IConfiguration configuration)
 {
     _context       = context;
     _signInManager = signInManager;
     _userManager   = userManager;
     _configuration = configuration;
 }
Пример #2
0
 public HomeController(SignInManager <AppUser> sign, IPasswordHasher <AppUser> hash, VivaniDbContext context, UserManager <AppUser> user, RoleManager <IdentityRole> role, IConfiguration configuration)
 {
     _context       = context;
     _user          = user;
     _role          = role;
     _configuration = configuration;
     _hash          = hash;
 }
Пример #3
0
 public WhyUsController(VivaniDbContext context)
 {
     _context = context;
 }
Пример #4
0
 public ContactController(VivaniDbContext context)
 {
     _context = context;
 }
Пример #5
0
 public ContactController(VivaniDbContext context, IHostingEnvironment env)
 {
     _context = context;
     _env     = env;
 }
Пример #6
0
 public AboutController(VivaniDbContext context)
 {
     _context = context;
 }