Пример #1
0
        protected override async Task DoHandleAsync(GrpcContext context)
        {
            using (var scope = GrpcServerBuilder.ServiceProvider.CreateScope())
            {
                context.Result = await context.Hander(context.Message, scope);

                context.Complete();
            }
        }