private void Manage()
    {
        //Response.Write(ExpenseShareBAL.ManageExpenseShare(Request.QueryString).ToJSON());
        try
        {
            string result = ExpenseShareBAL.ManageExpenseShare(Request.QueryString, Request.Form);

            //var revolvingfund = new ExpenseShare
            //{
            //    //ESID = Convert.ToInt32(result.Split(',')[0]),
            //    ESID = Convert.ToInt32(result[0]),
            //};

            var expenseshare = new ExpenseShare
            {
                ESID            = Convert.ToInt32(result.Split(',')[0]),
                ESDate          = result.Split(',')[1],
                Particulars     = result.Split(',')[2],
                AmtExpenseShare = Convert.ToDecimal(result.Split(',')[3])
            };

            Response.Write(expenseshare.ToJSON());
        }
        catch (Exception ex)
        {
            var appError = new ApplicationError
            {
                ErrorMessage = ex.Message,
                ErrorCode    = 999
            };
            Response.Write(appError.ToJSON());
        }
    }
 private void PostES()
 {
     Response.Write(ExpenseShareBAL.PostRecord(Request.QueryString));
 }
 private void GetESDetail()
 {
     Response.Write(ExpenseShareBAL.GetExpenseShareDetail(Request.QueryString).ToJSON());
 }