public async Task <ICollection <EmprestimoViewModel> > SelecionarTodos() { var objs = await _emprestimoRepositorio.SelecionarTodos(); return(objs.Select(emprestimo => _mapper.Map <EmprestimoViewModel>(emprestimo)).ToList()); }