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