예제 #1
0
 public IHttpActionResult Delete(SaleLineItemViewModel model)
 {
     if (!ModelState.IsValid)
     {
         BadRequest();
     }
     else
     {
         _serviceSale.DeleteSaleLineItem(model.SaleLineItemId);
         return(Ok());
     }
     return(Ok());
 }