Beispiel #1
0
 public ReportBaseManager(IDatabase database, IFilesManager filesManager, IReadOnlyProfileService profileService, IReadOnlyRolesService rolesService)
 {
     this.database       = database;
     this.filesManager   = filesManager;
     this.profileService = profileService;
     this.rolesService   = rolesService;
 }
Beispiel #2
0
        public TasksManager(IDatabase database, IHttpContextAccessor httpContextAccessor, IReadOnlyRolesService rolesService)
        {
            this.database     = database;
            this.rolesService = rolesService;

            this.currentUserId = httpContextAccessor.HttpContext.GetCurrentUserId();
        }
Beispiel #3
0
 public GetUserQuery(IUserService userService, IMapper mapper, IHttpContextReader httpContextReader,
                     IReadOnlyRolesService rolesService)
 {
     this.userService       = userService;
     this.mapper            = mapper;
     this.httpContextReader = httpContextReader;
     this.rolesService      = rolesService;
 }
 public AdminPanelNavbarViewComponent(IReadOnlyRolesService rolesService, IHttpContextAccessor httpContextAccessor)
 {
     this.rolesService        = rolesService;
     this.httpContextAccessor = httpContextAccessor;
 }
Beispiel #5
0
 public SupportService(IDatabase database, IReadOnlyRolesService rolesService)
 {
     this.database     = database;
     this.rolesService = rolesService;
 }