public ActionResult SaveEdit(AdressViewModel Model) { Model.Updaterades = DateTime.Now; db.addOrEdit(Model.ToDb()); return(PartialView("_ViewAdress", Model)); }
public ActionResult Create(AdressViewModel Model) { db.addOrEdit(Model.ToDb()); return(List()); }