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