///<summary>ASYNC Web Service call: unknown</summary> ///<returns>ASYNC task: unknown</returns> public static async Task <System.Collections.Generic.List <PFML.Shared.ViewModels.Core.Headers.Agency.ResultRecord> > SearchAsync(PFML.Shared.ViewModels.Core.Headers.Agency.SearchCriteria criteria) { using (OperationClient client = new OperationClient(servicePath, "Search")) { client.Value = criteria; return(await client.ReadAsync <System.Collections.Generic.List <PFML.Shared.ViewModels.Core.Headers.Agency.ResultRecord> >()); } }
///<summary>Web Service call: unknown</summary> public static System.Collections.Generic.List <PFML.Shared.ViewModels.Core.Headers.Agency.ResultRecord> Search(PFML.Shared.ViewModels.Core.Headers.Agency.SearchCriteria criteria) { return(SearchAsync(criteria).Result); }
public System.Collections.Generic.List <PFML.Shared.ViewModels.Core.Headers.Agency.ResultRecord> Search([FromBody] PFML.Shared.ViewModels.Core.Headers.Agency.SearchCriteria criteria) { return(PFML.BusinessLogic.Core.Headers.AgencyLogic.Search(criteria)); }