Esempio n. 1
0
 public BaseAdministrationController(
     IUsersDataService usersData,
     IAdministrationService <TEntity> administrationService)
     : base(usersData)
 {
     this.AdministrationService = administrationService;
 }
Esempio n. 2
0
 public ImagesController(
     IUsersDataService userData,
     IAdministrationService <Image> imageAdministrationService,
     IMappingService mapingService)
     : base(userData, imageAdministrationService, mapingService)
 {
 }
 public AdministrationController(
     IAdministrationService administrationService,
     IDeletableEntityRepository <ApplicationUser> userRepository)
 {
     this.administrationService = administrationService;
     this.userRepository        = userRepository ?? throw new System.ArgumentNullException(nameof(userRepository));
 }
 protected MvcGridAdministrationCrudController(
     IUsersDataService userData,
     IAdministrationService <TEntity> dataRepository,
     IMappingService mappingService)
     : base(userData, dataRepository, mappingService)
 {
 }
 public AdministrationController(
     IRepositoryWrapper repositoryWrapper,
     IAdministrationService administrationService)
 {
     _repositoryWrapper     = repositoryWrapper;
     _administrationService = administrationService;
 }
Esempio n. 6
0
 public FeedbackController(
     IUsersDataService userData,
     IAdministrationService <Feedback> dataRepository,
     IMappingService mappingService)
     : base(userData, dataRepository, mappingService)
 {
 }
Esempio n. 7
0
 public HomeController(IUserService userService, IAdministrationService adminService, IMessageService messageService, IPostService postService)
 {
     _userService    = userService;
     _adminService   = adminService;
     _messageService = messageService;
     _postService    = postService;
 }
Esempio n. 8
0
 public EpgpModule(
     IPriorityReportingService priorityReportingService,
     IQueryService queryService,
     IEpgpService epgpService,
     IAuditService auditService,
     IEpgpCalculator epgpCalculator,
     IEpgpConfigurationService epgpConfigurationService,
     IPageService pageService,
     IDocumentationService documentationService,
     IEmoteService emoteService,
     IAliasService aliasService,
     IItemService itemService,
     IRaidService raidService,
     IAdministrationService administrationService,
     BuzzBotDbContext dbContext, IUserService userService, IMapper mapper, IDecayProcessor decayProcessor)
 {
     _priorityReportingService = priorityReportingService;
     _queryService             = queryService;
     _epgpService              = epgpService;
     _auditService             = auditService;
     _epgpCalculator           = epgpCalculator;
     _epgpConfigurationService = epgpConfigurationService;
     _pageService              = pageService;
     _documentationService     = documentationService;
     _emoteService             = emoteService;
     _aliasService             = aliasService;
     _itemService              = itemService;
     _raidService              = raidService;
     _administrationService    = administrationService;
     _dbContext      = dbContext;
     _userService    = userService;
     _mapper         = mapper;
     _decayProcessor = decayProcessor;
 }
 public AdministrationViewModel(IAdministrationService administrationService)
 {
     _administrationService = administrationService;
     _showEditUsersView     = new RelayCommand(ShowUsersWindow);
     _showEditGroupsView    = new RelayCommand(ShowGroupsWindow);
     _showEditRolesView     = new RelayCommand(ShowRolesWindow);
 }
 public DataService(gipDatabaseContext db, IVakService service, ILectorService lectorService, IAdministrationService adminService)
 {
     this.adminService  = adminService;
     this.lectorService = lectorService;
     this.service       = service;
     this.db            = db;
 }
 public ShowAllUsersViewModel(IAdministrationService administrationService)
 {
     _administrationService = administrationService;
     LoadData();
     _editUserCommand       = new RelayCommand <UserDTO>(EditUser);
     _addUserCommand        = new RelayCommand(AddUser);
     _deactivateUserCommand = new RelayCommand <UserDTO>(DeactivateUser);
 }
 public AdministrationController(IInventoryService inventoryService,
                                 ISalesService salesService,
                                 IAdministrationService administrationService)
 {
     _inventoryService      = inventoryService;
     _salesService          = salesService;
     _administrationService = administrationService;
 }
Esempio n. 13
0
 public AdministrationController(IAdministrationService service,
                                 RoleManager <IdentityRole> roleManager,
                                 UserManager <ApplicationUser> userManager)
 {
     this.service     = service;
     this.roleManager = roleManager;
     this.userManager = userManager;
 }
Esempio n. 14
0
 public AccountController(IApplicationUserRegisterService registerService, IApplicationUserSignInService signInService, IAuthenticationManager authenticationManager, AuthorizeHandler handler, IAdministrationService administrationService)
 {
     _registerService       = registerService;
     _signInService         = signInService;
     _authenticationManager = authenticationManager;
     _authorizeHandler      = handler;
     _administrationService = administrationService;
 }
 public LaptopsController(
     IUsersDataService usersData,
     IAdministrationService <Laptop> administrationService,
     IMappingService mappingService)
     : base(usersData, administrationService)
 {
     this.mappingService = mappingService;
 }
 public AdministrationController(IInventoryService inventoryService,
     ISalesService salesService,
     IAdministrationService administrationService)
 {
     _inventoryService = inventoryService;
     _salesService = salesService;
     _administrationService = administrationService;
 }
 public ManufacturersController(
     IUsersDataService usersData,
     IAdministrationService <Manufacturer> administrationService,
     IMappingService mappingService)
     : base(usersData, administrationService)
 {
     this.mappingService = mappingService;
 }
 public DocumentService(IDocumentRepository documentRepository, IFileService fileService, IUserService userService, 
     IAdministrationService administrationService)
 {
     _documentRepository = documentRepository;
     _administrationService = administrationService;
     _fileService = fileService;
     _userService = userService;
 }
Esempio n. 19
0
 public SalesController(IAdministrationService adminService,
                        ISalesService salesService,
                        IFinancialService financialService)
 {
     _adminService     = adminService;
     _salesService     = salesService;
     _financialService = financialService;
 }
Esempio n. 20
0
 public PurchasingController(IAdministrationService adminService,
                             IPurchasingService purchasingService,
                             IFinancialService financialService)
 {
     _adminService      = adminService;
     _purchasingService = purchasingService;
     _financialService  = financialService;
 }
Esempio n. 21
0
 public ShowAllGroupsViewModel(IAdministrationService administationService)
 {
     _administationService = administationService;
     LoadData();
     _editUserCommand    = new RelayCommand <GroupDTO>(EditGroup);
     _addUserCommand     = new RelayCommand(AddGroup);
     _deleteGroupCommand = new RelayCommand <GroupDTO>(DeleteGroup);
 }
Esempio n. 22
0
 public ShowAllGroupsViewModel(IAdministrationService administationService)
 {
     _administrationService = administationService;
     _groups = new ObservableCollection <GroupModel>();
     LoadData();
     _editUserCommand    = new RelayCommand <GroupModel>(EditGroup);
     _addUserCommand     = new RelayCommand(AddGroup);
     _deleteGroupCommand = new RelayCommand <GroupModel>(DeleteGroup);
 }
        public AdministrationLogFilter(IAdministrationService <AdministrationLog> administrationLogs)
        {
            if (administrationLogs == null)
            {
                throw new ArgumentNullException(nameof(administrationLogs));
            }

            this.administrationLogs = administrationLogs;
        }
Esempio n. 24
0
 protected MvcGridAdministrationReadAndDeleteController(
     IUsersDataService userData,
     IAdministrationService <TEntity> dataRepository,
     IMappingService mappingService)
     : base(userData)
 {
     this.AdministrationService = dataRepository;
     this.MappingService        = mappingService;
 }
Esempio n. 25
0
 public AdministrationController(IMapper mapper,
                                 IAdministrationService administrationService,
                                 IBoardService boardService,
                                 ICategoryToModeratorService categoryToModeratorService)
 {
     _mapper = mapper;
     _administrationService      = administrationService;
     _boardService               = boardService;
     _categoryToModeratorService = categoryToModeratorService;
 }
Esempio n. 26
0
 public AccountController(
     UserManager <ApplicationUser> userManager,
     SignInManager <ApplicationUser> signInManager,
     IAdministrationService administrationService,
     ISecurityService securityService
     )
 {
     _userManager           = userManager;
     _administrationService = administrationService;
 }
 /// <summary>
 /// GetUsers method implementation
 /// </summary>
 public static int GetUsersCount(int maxrows = 20000)
 {
     EnsureService();
     IAdministrationService svc = null;
     if (!Config.UseActiveDirectory)
         svc = new SQLAdminService(Config);
     else
         svc = new ADDSAdminService(Config);
     return svc.GetUserRegistrationsCount(Filter);
 }
 /// <summary>
 /// GetAllUsers method implementation
 /// </summary>
 public static MMCRegistrationList GetAllUsers(bool enabledonly = false)
 {
     EnsureService();
     IAdministrationService svc = null;
     if (!Config.UseActiveDirectory)
         svc = new SQLAdminService(Config);
     else
         svc = new ADDSAdminService(Config);
     return svc.GetAllUserRegistrations(Order, int.MaxValue, enabledonly);
 }
 /// <summary>
 /// GetUsers method implementation
 /// </summary>
 public static MMCRegistrationList GetUsers(int maxrows = 20000)
 {
     EnsureService();
     IAdministrationService svc = null;
     if (!Config.UseActiveDirectory)
         svc = new SQLAdminService(Config);
     else
         svc = new ADDSAdminService(Config);
     return svc.GetUserRegistrations(Filter, Order, Paging, maxrows);
 }
 public DashboardController(
     UserManager <ApplicationUser> userManager,
     IAdministrationService administrationService,
     IUserService userService,
     IEmailSender emailSender)
 {
     this.userManager           = userManager;
     this.administrationService = administrationService;
     this.userService           = userService;
     this.emailSender           = emailSender;
 }
Esempio n. 31
0
 public UsersInModulesController(
     IUsersDataService userData,
     IAdministrationService <UserInModule> dataRepository,
     IMappingService mappingService,
     IAdministrationService <User> usersAdministrationService,
     IAdministrationService <Module> modulesAdministrationService)
     : base(userData, dataRepository, mappingService)
 {
     this.usersAdministrationService   = usersAdministrationService;
     this.modulesAdministrationService = modulesAdministrationService;
 }
Esempio n. 32
0
 public RmsDashBoardViewModel(IAdministrationService Service)
 {
     //this.SalesService = salesservice;
     IsUserLoggedIn    = false;;
     IsUserNotLoggedIn = true;
     //IsDataLoaded = false;
     //IsDataNotLoaded = true;
     IsAuthenticating    = false;
     IsNotAuthenticating = true;
     this.Service        = Service;
 }
Esempio n. 33
0
 public CommonController(IInventoryService inventoryService,
     IFinancialService financialService,
     IPurchasingService purchasingService,
     ISalesService salesService,
     IAdministrationService administrationService)
 {
     _inventoryService = inventoryService;
     _financialService = financialService;
     _purchasingService = purchasingService;
     _salesService = salesService;
     _administrationService = administrationService;
 }
Esempio n. 34
0
        public DesignerService(IServerConfiguration config, PresentationWorker worker, ILoginService loginService,
                               IAdministrationService administrationService)
        {
            Debug.Assert(config != null, "IServerConfiguration не может быть null");
            Debug.Assert(worker != null, "IPresentationWorker не может быть null");
            Debug.Assert(loginService != null, "ILoginService не может быть null");
            Debug.Assert(administrationService != null, "IAdministrationService не может быть null");

            _config = config;
            _loginService = loginService;
            _presentationWorker = worker;
            _administrationService = administrationService;
            _configFileExportHelper = new ConfigurationExportHelper(config);
        }
Esempio n. 35
0
 public FinancialController(IFinancialService financialService, IAdministrationService administrationService)
 {
     _financialService = financialService;
     _administrationService = administrationService;
 }
 public MyAdminController(ICacheService cacheService, IAdministrationService administrationService, IContentItemRepository contentItemRepository)
     : base(cacheService, administrationService, contentItemRepository)
 {
 }
Esempio n. 37
0
 public AdministrationController(
     IAdministrationService users)
 {
     this.users = users;
 }