public async Task <IEnumerable <ConvenioViewModel> > GetAll() => _mapper.Map <IEnumerable <ConvenioViewModel> >(await _convenioRepository.GetAll());
public IEnumerable <ListConvenioViewModel> Get() => _repository.GetAll();
public async Task <IEnumerable <ConvenioViewModel> > GetAll() => _mapper.Map <IEnumerable <ConvenioViewModel> >(await _convenioRepository.GetAll());
public IEnumerable <ListConvenioViewModel> Get() => _repository.GetAll();