예제 #1
0
 public AccountController(
     LaundryRoomContext context,
     UserManager <ApplicationUser> userManager,
     RoleManager <IdentityRole> roleManager,
     SignInManager <ApplicationUser> signInManager
     )
 {
     _context       = context;
     _userManager   = userManager;
     _roleManager   = roleManager;
     _signInManager = signInManager;
 }
예제 #2
0
 public HomeController(Repository repository, LaundryRoomContext context, AppSettings appSettings)
 {
     _context     = context;
     _repository  = repository;
     _appSettings = appSettings;
 }
예제 #3
0
 public Repository(LaundryRoomContext context)
 {
     _context = context;
 }
예제 #4
0
 public BookingController(Repository repository, LaundryRoomContext context)
 {
     _context    = context;
     _repository = repository;
 }