/// <summary>
 /// Asynchronously invokes the 'InvokeOperationWithParamValidation' method of the DomainService.
 /// </summary>
 /// <param name="a">The value for the 'a' parameter of this action.</param>
 /// <param name="b">The value for the 'b' parameter of this action.</param>
 /// <param name="entity">The value for the 'entity' parameter of this action.</param>
 /// <param name="cancellationToken">A cancellation token that can be used to cancel the work</param>
 /// <returns>An operation instance that can be used to manage the asynchronous request.</returns>
 public System.Threading.Tasks.Task<InvokeResult<bool>> InvokeOperationWithParamValidationAsync([Range(0, 10)] int a, [StringLength(2)] string b, CityWithCacheData entity, CancellationToken cancellationToken = default(CancellationToken))
 {
     Dictionary<string, object> parameters = new Dictionary<string, object>();
     parameters.Add("a", a);
     parameters.Add("b", b);
     parameters.Add("entity", entity);
     this.ValidateMethod("InvokeOperationWithParamValidation", parameters);
     return this.InvokeOperationAsync<bool>("InvokeOperationWithParamValidation", parameters, true, cancellationToken);
 }
 /// <summary>
 /// Asynchronously invokes the 'InvokeOperationWithParamValidation' method of the DomainService.
 /// </summary>
 /// <param name="a">The value for the 'a' parameter of this action.</param>
 /// <param name="b">The value for the 'b' parameter of this action.</param>
 /// <param name="entity">The value for the 'entity' parameter of this action.</param>
 /// <returns>An operation instance that can be used to manage the asynchronous request.</returns>
 public InvokeOperation<bool> InvokeOperationWithParamValidation([Range(0, 10)] int a, [StringLength(2)] string b, CityWithCacheData entity)
 {
     Dictionary<string, object> parameters = new Dictionary<string, object>();
     parameters.Add("a", a);
     parameters.Add("b", b);
     parameters.Add("entity", entity);
     this.ValidateMethod("InvokeOperationWithParamValidation", parameters);
     return this.InvokeOperation<bool>("InvokeOperationWithParamValidation", typeof(bool), parameters, true, null, null);
 }