示例#1
0
 ///<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> >());
     }
 }
示例#2
0
 ///<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));
 }