public override Task <DirectorResult> FetchAllDirectors( DirectorRequest request, ServerCallContext context) { var result = new DirectorResult(); result.Country = "NL"; result.Name = "Apollo"; return(Task.FromResult(result)); }
public ProductInfo DirectorSearchRequest(DirectorRequest DirectorSearchRequest) { object[] results = this.Invoke("DirectorSearchRequest", new object[] { DirectorSearchRequest}); return ((ProductInfo)(results[0])); }
public System.IAsyncResult BeginDirectorSearchRequest(DirectorRequest DirectorSearchRequest, System.AsyncCallback callback, object asyncState) { return this.BeginInvoke("DirectorSearchRequest", new object[] { DirectorSearchRequest}, callback, asyncState); }