public IActionResult Index() { KirjaPageViewModel model = new KirjaPageViewModel(); model.AllowedAttachmentMimeTypes = _AllowedAttachmentMimeTypes; return(View(model)); }
public IActionResult Index() { KirjaPageViewModel model = new KirjaPageViewModel(); model.AllowedAttachmentMimeTypes = _AllowedAttachmentMimeTypes; model.IsUsingVersioning = _IsUsingVersioning; model.DisableAutoSaving = _DisableAutoSaving; return(View(model)); }