Esempio n. 1
0
        public IActionResult Index()
        {
            KirjaPageViewModel model = new KirjaPageViewModel();

            model.AllowedAttachmentMimeTypes = _AllowedAttachmentMimeTypes;
            return(View(model));
        }
Esempio n. 2
0
        public IActionResult Index()
        {
            KirjaPageViewModel model = new KirjaPageViewModel();

            model.AllowedAttachmentMimeTypes = _AllowedAttachmentMimeTypes;
            model.IsUsingVersioning          = _IsUsingVersioning;
            model.DisableAutoSaving          = _DisableAutoSaving;
            return(View(model));
        }