コード例 #1
0
 public string DeleteOtherExpense(string ID)
 {
     try
     {
         object result = null;
         AppUA  appUA  = Session["AppUA"] as AppUA;
         result = _otherExpenseBusiness.DeleteOtherExpense(Guid.Parse(ID), appUA.UserName);
         return(JsonConvert.SerializeObject(new { Result = "OK", Message = result }));
     }
     catch (Exception ex)
     {
         AppConstMessage cm = c.GetMessage(ex.Message);
         return(JsonConvert.SerializeObject(new { Result = "ERROR", Message = cm.Message }));
     }
 }