Beispiel #1
0
        public ActionResult Delete(int id)
        {
            var restaurante = _restauranteService.Obtener(id);

            if (restaurante == null)
            {
                return(BadRequest());
            }

            _restauranteService.Eliminar(id);

            return(Ok());
        }