Beispiel #1
0
        public ActionResult DeleteById(int id)
        {
            var resposta = _service.DeleteById(id);

            if (resposta != null)
            {
                return(Ok(resposta));
            }
            else
            {
                return(NotFound(resposta));
            }
        }