public AdminUserService(
     UserManager <User> userManager,
     SignInManager <User> signInManager,
     SportObjectsReservationContext context
     )
 {
     _userManager   = userManager;
     _signInManager = signInManager;
     _context       = context;
 }
 public AccountantService(
     UserManager <User> userManager,
     SignInManager <User> signInManager,
     SportObjectsReservationContext context,
     IConfiguration configuration,
     RoleManager <IdentityRole> roleManager
     )
 {
     _userManager   = userManager;
     _signInManager = signInManager;
     _context       = context;
     _configuration = configuration;
     _roleManager   = roleManager;
 }
示例#3
0
 public UserMessageController(SportObjectsReservationContext context)
 {
     _context = context;
 }
 public ReservationController(SportObjectsReservationContext context)
 {
     _context = context;
 }
 public AccountantController(SportObjectsReservationContext context, AccountantService service)
 {
     _context = context;
     _service = service;
 }
 public UserController(SportObjectsReservationContext context, AdminUserService service)
 {
     _context = context;
     _service = service;
 }