public void TestActivityPage() { var requestpage = new ActivityPageInfoRequest { HashKey = "0C96F72A", Channel = "wap", UserId = new Guid("21fa116e-5aaf-4dd8-9ee0-c2d93cb026c6") }; var result = _client.GetActivityPageInfoConfigModel(requestpage); result.ThrowIfException(true); Assert.IsNotNull(result.Result); }
public async Task <OperationResult <ActivityPageInfoModel> > GetActivityPageInfoConfigModelAsync(ActivityPageInfoRequest request) { return(OperationResult.FromResult(await new ActivityPageInfoManager().GetActivityPageInfoConfigModelAsync(request))); }