Ejemplo n.º 1
0
        public async Task <RequestResult <Example> > Handle(ExampleQuery request, CancellationToken cancellationToken)
        {
            var result = new RequestResult <Example>();

            result.Payload = await _exampleRepository.FetchExample(request.Value);

            return(result);
        }