Exemplo n.º 1
0
 public Task <IEnumerable <Agendamento> > GetQueryAsync(AgendamentoQueryCommand filter)
 => _repositorioLeitura.GetAsync(filter);
Exemplo n.º 2
0
 public async Task <ActionResult> Get([FromQuery] AgendamentoQueryCommand query)
 => CustomResponse(Mapper.Map <IEnumerable <AgendamentoDTO> >(await Mediator.EnviarComandoAsync(query)));