public async Task Delete(long id) { try { await _vendaRepository.DeleteAsync(id); } catch (Exception e) { throw new UserFriendlyException("Error", e.Message.ToString()); } }