public ActionResult EditDocument(int id) { DocumentViewModel model = new DocumentViewModel(); return(PartialView("_DocumentEdit", model.EditDocument(id))); }