public ActionResult Get(DateRange dateRange) { var budgetList = GOOSRepo.GetTotalBudgetByTimeRange(dateRange); BudgetHelper.CalculateTotalBudget(dateRange, budgetList); return(null); }
public ActionResult Add(Budget budget) { GOOSRepo.AddBudget(budget); return(RedirectToAction("Index")); }
public ActionResult Update(Budget budget) { GOOSRepo.UpdateBudget(budget); return(RedirectToAction("Index")); }
public ActionResult Index() { var result = GOOSRepo.GetAllBudgets(); return(View(result)); }