public ActionResult Add(Budget budget) { try { if (ModelState.IsValid == true) { _budgetService.AddBudget(budget); } return(RedirectToAction("Index")); } catch { return(View()); } }
public ActionResult Add(Budget budget) { try { if (ModelState.IsValid == true) { _budgetService.AddBudget(budget); } return(RedirectToAction("Index")); } catch { return(View()); } }