Esempio n. 1
0
 public HttpResponseMessage GetCustmoreAddressList(int?store_id, int customer_id)
 {
     try
     {
         var result = _CartServices.GetCustmoreAddressList(store_id, customer_id);
         if (result != null)
         {
             return(Request.CreateResponse(HttpStatusCode.OK, result));
         }
         return(Request.CreateErrorResponse(HttpStatusCode.NotFound, "Something wrong! Please try again later."));
     }
     catch (Exception)
     {
         throw;
     }
 }