Пример #1
0
 public HttpResponseMessage getLatestTransactionHistoryBySeller(int id)
 {
     try
     {
         DataTable dt = objPaymentBL.GetLastestTransactionBySeller(id);
         return(Request.CreateResponse(HttpStatusCode.OK, dt));
     }
     catch (Exception ex)
     {
         return(Request.CreateResponse(HttpStatusCode.InternalServerError, ex.Message));
     }
 }