private void ManageDelete() { string result = MCPlanQuotaBAL.ManageDelete(Request.QueryString); var brecon = Convert.ToInt32(result); Response.Write(brecon.ToJSON()); }
private void ManageInsert() { string result = MCPlanQuotaBAL.ManageInsert(Request.QueryString); var brecon = result; Response.Write(brecon.ToJSON()); }
private void Manage() { string result = MCPlanQuotaBAL.Manage(Request.QueryString, Request.Form); //var cvfund = new CVFund { CVFundID = Convert.ToInt32(result.Split(',')[0]), Number = Convert.ToInt32(result.Split(',')[1]) }; var brecon = Convert.ToInt32(result); Response.Write(brecon.ToJSON()); }
private void GetPlanHeader() { try { string result = MCPlanQuotaBAL.GetPlanHhdr(Request.QueryString); var cvfund = new MCPlanQuota { PlanQuotaID = Convert.ToInt32(result.Split(',')[0]), PlanQuotaYear = Convert.ToInt32(result.Split(',')[1]) }; Response.Write(cvfund.ToJSON()); } catch (Exception ex) { var appError = new ApplicationError { ErrorMessage = ex.Message, ErrorCode = 999 }; Response.Write(appError.ToJSON()); } }
private void GetPlanDetail() { Response.Write(MCPlanQuotaBAL.GetPlan(Request.QueryString).ToJSON()); }