示例#1
0
 public ResponseModel AddOrderBasketItem(OrderBasketItemPost basketItemPost)
 {
     try
     {
         orderBasketService.AddOrderBasketItem(basketItemPost.RetailerId, basketItemPost.OrderBasketItem);
         return(new ResponseModel {
             IsCallSuccess = true, IsCommandSuccess = true, Message = "Success"
         });
     }
     catch (Exception ex)
     {
         logger.Error(TagGroup, "AddOrderBasketItem", ex);
         return(new ResponseModel {
             IsCallSuccess = true, IsCommandSuccess = false, Message = ex.ToString()
         });
     }
 }
 public ResponseModel DeleteOrderBasketItem(OrderBasketItemPost basketItem)
 {
     return(Post <ResponseModel>("DeleteOrderBasketItem", basketItem));
 }
 public ResponseModel AddOrderBasketItem(OrderBasketItemPost basketItemPost)
 {
     return(Post <ResponseModel>("AddOrderBasketItem", basketItemPost));
 }