public DocumentsController(SpecialFolderProvider specialFolderProvider, UloUserManager userManager, IHostEnvironment hostingEnvironment, UloDbContext db, ICacher cacher, PortalHelpers portalHelpers, UserHelpers userHelpers, ILogger <DocumentsController> logger) : base(db, cacher, portalHelpers, userHelpers, logger) { SpecialFolderProvider = specialFolderProvider; UserManager = userManager; HostingEnvironment = hostingEnvironment; PopulateDocumentTypeNameByDocumentTypeIdInViewBag(); }
protected override void OnStartup(StartupEventArgs e) { base.OnStartup(e); IFolderProvider folderProvider = new SpecialFolderProvider(); MainViewModel viewModel = new MainViewModel(folderProvider); MainWindow view = new MainWindow(); view.DataContext = viewModel; view.Show(); }
public ReviewsController(SpecialFolderProvider specialFolderProvider, IBackgroundJobClient backgroundJobClient, UloDbContext db, PortalHelpers portalHelpers, UserHelpers userHelpers, ICacher cacher, ILogger <ReviewsController> logger) : base(db, cacher, portalHelpers, userHelpers, logger) { SpecialFolderProvider = specialFolderProvider; BackgroundJobClient = backgroundJobClient; }
public AttachmentsController(IStorageProvider storageProvider, SpecialFolderProvider specialFolderProvider, UloDbContext db, ICacher cacher, PortalHelpers portalHelpers, UserHelpers userHelpers, ILogger <AttachmentsController> logger) : base(db, cacher, portalHelpers, userHelpers, logger) { StorageProvider = storageProvider; SpecialFolderProvider = specialFolderProvider; }