예제 #1
0
 public AdvancedSearchController(ILogService logService,
                                 IFileStorageService fileStorageService,
                                 IClientService clientService,
                                 IDepartmentService departmentService,
                                 IUserService userService,
                                 IUserGroupService userGroupService,
                                 IFileStorageHierarchyService fileStorageHierarchyService)
     : base(logService)
 {
     _fileStorageService          = fileStorageService ?? throw new ArgumentNullException(nameof(fileStorageService));
     _clientService               = clientService ?? throw new ArgumentNullException(nameof(clientService));
     _departmentService           = departmentService ?? throw new ArgumentNullException(nameof(departmentService));
     _userService                 = userService ?? throw new ArgumentNullException(nameof(userService));
     _userGroupService            = userGroupService ?? throw new ArgumentNullException(nameof(userGroupService));
     _fileStorageHierarchyService = fileStorageHierarchyService ?? throw new ArgumentNullException(nameof(fileStorageHierarchyService));
 }
 public FileStorageHierarchyController(ILogService logService,
                                       IFileStorageHierarchyService fileStorageHierarchyService)
     : base(logService)
 {
     _fileStorageHierarchyService = fileStorageHierarchyService ?? throw new ArgumentNullException(nameof(fileStorageHierarchyService));
 }