public async Task <Resposta <ICollection <SalaViewModel> > > Handle(ListarTodasSalasConsulta request, CancellationToken cancellationToken) { var salas = await _salaRepositorio.ListarTodos(); var salasViewModel = _mapper.Map <List <SalaViewModel> >(salas); return(new Resposta <ICollection <SalaViewModel> >(salasViewModel)); }