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