Пример #1
0
 public InitModel(
     ApplicationDbContext context,
     SessionGrantService grantService,
     UserManager <ApplicationUser> userManager)
 {
     _context      = context;
     _grantService = grantService;
     _userManager  = userManager;
 }
Пример #2
0
 public InviteController(
     SessionInviteService inviteService,
     SessionGrantService grantService,
     ApplicationDbContext context,
     UserManager <ApplicationUser> userManager)
 {
     _inviteService = inviteService;
     _grantService  = grantService;
     _context       = context;
     _userManager   = userManager;
 }