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