示例#1
0
        public async Task <LoginResponse> Login(int id)
        {
            var loginRes = await _gateClient.CallAsync <LoginRequest, LoginResponse>(new LoginRequest
            {
                Id = id,
            });

            return(loginRes);
        }
示例#2
0
        public async Task <bool> FinishLevel(FinishLevelRequest request)//string sessionToken, int levelTypeId, bool isSuccess)
        {
            var task = await _handlerClient.CallAsync <FinishLevelRequest, bool>(request);

            return(task);
        }