public async Task<PredictionDto> Get([FromUri] int id)
 {
     var request = new GetPredictionRequest
     {
         Id = id
     };
     return await _mediator.ExecuteAsync(request).ConfigureAwait(false);
 }
Beispiel #2
0
        public async Task <PredictionDto> Get([FromUri] int id)
        {
            var request = new GetPredictionRequest
            {
                Id = id
            };

            return(await _mediator.ExecuteAsync(request).ConfigureAwait(false));
        }