常用方法
常用方法
常用方法
常用方法
public ActionResult Delete(int id) { var retorno = _eventsService.Deletar(id); if (retorno) { return(Ok("Deletado com sucesso!")); } else { return(NoContent()); } }
public ActionResult Delete(int id) { var retorno = _eventsService.Deletar(id); if (retorno) { return(Ok("Deletado com sucesso!")); } else { return(NoContent()); } }