예제 #1
0
 public HttpResponseMessage GetCartDetailsByCartGroupId(int?StoreID, int cartgroup_id)
 {
     try
     {
         var result = _CartServices.GetCartDetailsByCartGroupId(StoreID, cartgroup_id);
         if (result != null)
         {
             return(Request.CreateResponse(HttpStatusCode.OK, result));
         }
         return(Request.CreateErrorResponse(HttpStatusCode.NotFound, "Something wrong! Please try again later."));
     }
     catch (Exception)
     {
         throw;
     }
 }