public ActionResult Create(Expense item) { if (!ModelState.IsValid) { return(PartialView("_Create", item)); } using (var scope = new TransactionScope()) { item.CreateAndFlush(); } return(PartialView("_Refresh")); }