public JsonResult EditFinancialYear(int id) { BL_FinancialYear blyear = new BL_FinancialYear(); return(new JsonResult { Data = blyear.GetFinancialYear(id), JsonRequestBehavior = JsonRequestBehavior.AllowGet }); }
public JsonResult GetAllFinancialYear() { FinancialYear year = new FinancialYear(); BL_FinancialYear blyear = new BL_FinancialYear(); return(new JsonResult { Data = blyear.SelectAllData(), JsonRequestBehavior = JsonRequestBehavior.AllowGet }); }