Exemple #1
0
 public AccountController(UserManager <AppUser> userManager, SignInManager <AppUser> signInManager, VivaniDbContext context, IConfiguration configuration)
 {
     _context       = context;
     _signInManager = signInManager;
     _userManager   = userManager;
     _configuration = configuration;
 }
Exemple #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;
 }
Exemple #3
0
 public WhyUsController(VivaniDbContext context)
 {
     _context = context;
 }
Exemple #4
0
 public ContactController(VivaniDbContext context)
 {
     _context = context;
 }
Exemple #5
0
 public ContactController(VivaniDbContext context, IHostingEnvironment env)
 {
     _context = context;
     _env     = env;
 }
Exemple #6
0
 public AboutController(VivaniDbContext context)
 {
     _context = context;
 }