public static void TestAvailLineWithDetailedPeriodsAddUpdate(AvailMartService.AvailMartServiceClient client) { var request = new AvailLineWithDetailedPeriodsAddUpdateRequest(); request.AvailLineWithDetailedPeriods = new AvailLineWithDetailedPeriods(); request.AvailLineWithDetailedPeriods.AvailLineWithDetailedPeriodsHashKey = "53864316-ac7d-4d7c-a8bf-199b20607c9e"; request.AvailLineWithDetailedPeriods.AvailLineWithDetailedPeriodsSqn = 1106783771; request.AvailLineWithDetailedPeriods.AvailListHashKey = "d0bb276b-4221-4f6e-80ce-6393af7c095e"; request.AvailLineWithDetailedPeriods.DaypartName = "3d8d14ca-1741-44be-93c7-58570ea68a99"; request.AvailLineWithDetailedPeriods.AvailName = "3e409de0-d901-4640-aa26-4494225de6cf"; var response = client.AvailLineWithDetailedPeriodsAddUpdate(request); }
public override async Task <AvailLineWithDetailedPeriodsAddUpdateResponse> AvailLineWithDetailedPeriodsAddUpdate(AvailLineWithDetailedPeriodsAddUpdateRequest request, ServerCallContext context) { var res = await _executor.ExecuteAsync(new AvailLineWithDetailedPeriodsAddUpdateQuery { AvailLineWithDetailedPeriods = request.AvailLineWithDetailedPeriods.ToEntity() }).ConfigureAwait(false); var returnVal = res; var result = new AvailLineWithDetailedPeriodsAddUpdateResponse { }; return(result); }