public IHttpActionResult DeleteUser(int id) { Price price = priceModel.GetByIdPrice(id); if (price == null) { return(NotFound()); } mensaje = priceModel.RemovePrice(price); if (mensaje == "OK") { return(Ok(price)); } return(NotFound()); }