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