示例#1
0
        public ActionResult Delete(int id)
        {
            var retorno = _eventsService.Deletar(id);

            if (retorno)
            {
                return(Ok("Deletado com sucesso!"));
            }
            else
            {
                return(NoContent());
            }
        }