Example #1
0
        public override async Task <GetStrainReply> GetStrain(GetStrainRequest request, ServerCallContext context)
        {
            var result = await _driver.GetResult(request.Id);

            GetStrainReply reply = new();

            reply.Result = _mapper.Map <StrainResult>(result);
            return(reply);
        }