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

            this.currentUserId = httpContextAccessor.HttpContext.GetCurrentUserId();
        }
Ejemplo n.º 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;
 }
Ejemplo n.º 5
0
 public SupportService(IDatabase database, IReadOnlyRolesService rolesService)
 {
     this.database     = database;
     this.rolesService = rolesService;
 }