public ActionResult Edit(int id) { var model = Attachments.AttachmentInfoToVModel(Attachments.GetAttachmentInfo(id)); return(View(model)); }