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; }
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; }
public RotationsController(IGroupService groupService, IUserPermissionsService userPermissionsService) { _groupService = groupService ?? throw new ArgumentNullException(nameof(groupService)); _userPermissionsService = userPermissionsService ?? throw new ArgumentNullException(nameof(userPermissionsService)); }
public GroupController(ApplicationDbContext context, IUserPermissionsService permissions) { this._context = context; this._permissions = permissions; }
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; }
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)); }