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