Exemplo n.º 1
0
 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();
 }
Exemplo n.º 2
0
        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();
        }
Exemplo n.º 3
0
 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;
 }
Exemplo n.º 4
0
 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;
 }