public OperationResultVo <int> Count() { OperationResultVo <int> result; try { int count = _repository.GetAll().Count(); result = new OperationResultVo <int>(count); } catch (Exception ex) { result = new OperationResultVo <int>(ex.Message); } return(result); }
public IQueryable <Arquivo> GetAll() => _ArquivoRepository.GetAll();