public CommentsController(ApplicationDbContext context, UserManager <ApplicationUser> userManager, IUserPermissionsService userPermissions, IHostingEnvironment hostingEnvironment)
 {
     this.context            = context;
     this.userManager        = userManager;
     this.userPermissions    = userPermissions;
     this.hostingEnvironment = hostingEnvironment;
 }
 public ForumMessageAttachmentsController(ApplicationDbContext _context, UserManager <ApplicationUser> userManager, IUserPermissionsService userPermissions, IHostingEnvironment hostingEnvironment)
 {
     this._context           = _context;
     this.userManager        = userManager;
     this.userPermissions    = userPermissions;
     this.hostingEnvironment = hostingEnvironment;
 }
Ejemplo n.º 3
0
 public AuthenticationController(UserManager <ApplicationUser> userManager, RoleManager <IdentityRole> roleManager, IConfiguration configuration, IInviteCodeService inviteCodeService, IAddUserService addUserService, IPrisonService prisonService, IUserPermissionsService userPermissionsService)
 {
     _configuration          = configuration;
     _roleManager            = roleManager;
     _userManager            = userManager;
     _inviteCodeService      = inviteCodeService;
     _addUserService         = addUserService;
     _prisonService          = prisonService;
     _userPermissionsService = userPermissionsService;
 }
Ejemplo n.º 4
0
 public RotationsController(IGroupService groupService, IUserPermissionsService userPermissionsService)
 {
     _groupService           = groupService ?? throw new ArgumentNullException(nameof(groupService));
     _userPermissionsService =
         userPermissionsService ?? throw new ArgumentNullException(nameof(userPermissionsService));
 }
Ejemplo n.º 5
0
 public GroupController(ApplicationDbContext context, IUserPermissionsService permissions)
 {
     this._context     = context;
     this._permissions = permissions;
 }
Ejemplo n.º 6
0
 public ForumMessagesController(ApplicationDbContext context, UserManager <ApplicationUser> userManager, IUserPermissionsService userPermissions)
 {
     this.context         = context;
     this.userManager     = userManager;
     this.userPermissions = userPermissions;
 }
 public AllowedTenantService(IUserPermissionsService permissionsService)
 {
     this.permissionsService = permissionsService;
 }
Ejemplo n.º 8
0
 public GroupController(IGroupService groupService, IMapper mapper, IUserPermissionsService permissionsService)
 {
     _groupService       = groupService ?? throw new ArgumentNullException(nameof(groupService));
     _mapper             = mapper ?? throw new ArgumentNullException(nameof(mapper));
     _permissionsService = permissionsService ?? throw new ArgumentNullException(nameof(permissionsService));
 }