예제 #1
0
        public async Task<dynamic> Deletar(int id)
        {
            try
            {
                await service.Deletar(id);

                return new { code = 200, message = "Item deletado com sucesso" };
            }
            catch (Exception ex)
            {
                throw ex;
            }
        }