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; } }
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; } }