public IActionResult DeleteYachtMerchantProductPricing(int id)
        {
            var res = _yachtMerchantProductInventoryService.DeleteProductPricing(id);

            if (res.IsSuccessStatusCode)
            {
                return(Ok(res));
            }
            return(BadRequest());
        }
Example #2
0
 public IActionResult DeleteYachtMerchantProductPricing(int id)
 {
     try
     {
         var res = _yachtMerchantProductInventoryService.DeleteProductPricing(id);
         return(this.OkResponse(res));
     }
     catch (Exception ex)
     {
         return(this.BadRequestResponse(ex.StackTrace.ToString()));
     }
 }