public IActionResult Delete(int id) { if (!service.DeletePriceModelById(id)) { return(NotFound()); } return(NoContent()); }