Exemple #1
0
 public string GetOpeningBalance(string OpeningDate)
 {
     try
     {
         OtherExpenseViewModel otherExpenseObj = Mapper.Map <OtherExpense, OtherExpenseViewModel>(_otherExpenseBusiness.GetOpeningBalance(OpeningDate));
         return(JsonConvert.SerializeObject(new { Result = "OK", Records = otherExpenseObj }));
     }
     catch (Exception ex)
     {
         AppConstMessage cm = c.GetMessage(ex.Message);
         return(JsonConvert.SerializeObject(new { Result = "ERROR", Message = cm.Message }));
     }
 }