예제 #1
0
        public JsonResult EditFinancialYear(int id)
        {
            BL_FinancialYear blyear = new BL_FinancialYear();

            return(new JsonResult {
                Data = blyear.GetFinancialYear(id), JsonRequestBehavior = JsonRequestBehavior.AllowGet
            });
        }
예제 #2
0
        public JsonResult GetAllFinancialYear()
        {
            FinancialYear    year   = new FinancialYear();
            BL_FinancialYear blyear = new BL_FinancialYear();

            return(new JsonResult {
                Data = blyear.SelectAllData(), JsonRequestBehavior = JsonRequestBehavior.AllowGet
            });
        }