public ReferenceDocumentsLibraryController(IDocumentLibraryViewModelFactory viewModelFactory, IDocumentSubTypeService documentSubTypeService, ICacheHelper cacheHelper)
 {
     _viewModelFactory = viewModelFactory;
     _documentSubTypeService = documentSubTypeService;
     _cacheHelper = cacheHelper;
 }
예제 #2
0
 private BusinessSafeSystemDocumentsLibraryController CreateControllerWithUserAndFactory(IDocumentLibraryViewModelFactory viewModelFactory)
 {
     var controller = new BusinessSafeSystemDocumentsLibraryController(viewModelFactory);
     return TestControllerHelpers.AddUserWithDefinableAllowedSitesToController(controller, _allowedSites);
 }
 public BusinessSafeSystemDocumentsLibraryController(IDocumentLibraryViewModelFactory viewModelFactory)
 {
     _viewModelFactory = viewModelFactory;
 }