///<summary>ASYNC Web Service call: Retrieve all security permissions for the current user</summary> ///<returns>ASYNC task: List of security keys and access levels</returns> public static async Task <System.Collections.Generic.List <System.Tuple <string, FACTS.Framework.Security.SecurityAccess> > > FetchPermissionsAsync() { using (OperationClient client = new OperationClient(servicePath, "FetchPermissions")) { return(await client.ReadAsync <System.Collections.Generic.List <System.Tuple <string, FACTS.Framework.Security.SecurityAccess> > >()); } }
///<summary>ASYNC Web Service call: unknown</summary> ///<returns>ASYNC task: unknown</returns> public static async Task <PFML.Shared.Model.DbDtos.VoluntaryPlanWaiverRequestDto> SetDataAsync() { using (OperationClient client = new OperationClient(servicePath, "SetData")) { return(await client.ReadAsync <PFML.Shared.Model.DbDtos.VoluntaryPlanWaiverRequestDto>()); } }
///<summary>ASYNC Web Service call: unknown</summary> ///<returns>ASYNC task: unknown</returns> public static async Task <PFML.Shared.ViewModels.Premium.WageDetail.WageSubmission.WageSubmissionViewModel> GetWagePeriodAsync() { using (OperationClient client = new OperationClient(servicePath, "GetWagePeriod")) { return(await client.ReadAsync <PFML.Shared.ViewModels.Premium.WageDetail.WageSubmission.WageSubmissionViewModel>()); } }
///<summary>ASYNC Web Service call: unknown</summary> ///<returns>ASYNC task: unknown</returns> public static async Task <PFML.Shared.ViewModels.Core.Headers.Agency.SearchCriteria> BlankSearchCriteriaAsync() { using (OperationClient client = new OperationClient(servicePath, "BlankSearchCriteria")) { return(await client.ReadAsync <PFML.Shared.ViewModels.Core.Headers.Agency.SearchCriteria>()); } }
///<summary>ASYNC Web Service call: Retrieve all lookup names, codes and data in the system</summary> ///<remarks>Used during initialization to populate LookupUtil with data</remarks> ///<returns>ASYNC task: List of lookup names, codes and data</returns> public static async Task <System.Collections.Generic.Dictionary <string, FACTS.Framework.Lookup.LookupName> > FetchLookupsAsync() { using (OperationClient client = new OperationClient(servicePath, "FetchLookups")) { return(await client.ReadAsync <System.Collections.Generic.Dictionary <string, FACTS.Framework.Lookup.LookupName> >()); } }
///<summary>ASYNC Web Service call: Retrieve all security definitions in the system</summary> ///<remarks>Used during initialization to populate SecurityUtil with data</remarks> ///<returns>ASYNC task: List of security definitions</returns> public static async Task <System.Collections.Generic.List <string> > FetchDefinitionsAsync() { using (OperationClient client = new OperationClient(servicePath, "FetchDefinitions")) { return(await client.ReadAsync <System.Collections.Generic.List <string> >()); } }
///<summary>ASYNC Web Service call: unknown</summary> ///<returns>ASYNC task: unknown</returns> public static async Task <PFML.Shared.Model.DbDtos.PaymentMainDto> SavePaymentDetailAsync(PFML.Shared.Model.DbDtos.PaymentMainDto PaymentMainDetails) { using (OperationClient client = new OperationClient(servicePath, "SavePaymentDetail")) { client.Value = PaymentMainDetails; return(await client.ReadAsync <PFML.Shared.Model.DbDtos.PaymentMainDto>()); } }
///<summary>ASYNC Web Service call: unknown</summary> ///<returns>ASYNC task: unknown</returns> public static async Task <PFML.Shared.ViewModels.Premium.Payments.MakePayment.MakePaymentViewModel> GetEmployerDueAmountAsync(int EmployerID) { using (OperationClient client = new OperationClient(servicePath, "GetEmployerDueAmount")) { client.Value = EmployerID; return(await client.ReadAsync <PFML.Shared.ViewModels.Premium.Payments.MakePayment.MakePaymentViewModel>()); } }
///<summary>ASYNC Web Service call: unknown</summary> ///<returns>ASYNC task: unknown</returns> public static async Task <System.Collections.Generic.List <PFML.Shared.Model.DbDtos.SecurityPermissionDto> > SearchAsync(string sourceType, string sourceName, string targetType, string targetName, string accessType) { using (OperationClient client = new OperationClient(servicePath, "Search")) { client.Value = new { sourceType, sourceName, targetType, targetName, accessType }; return(await client.ReadAsync <System.Collections.Generic.List <PFML.Shared.Model.DbDtos.SecurityPermissionDto> >()); } }
///<summary>ASYNC Web Service call: unknown</summary> ///<returns>ASYNC task: unknown</returns> public static async Task <PFML.Shared.ViewModels.Core.Headers.Agency.Record> FetchAsync(int id) { using (OperationClient client = new OperationClient(servicePath, "Fetch")) { client.Value = id; return(await client.ReadAsync <PFML.Shared.ViewModels.Core.Headers.Agency.Record>()); } }
///<summary>ASYNC Web Service call: unknown</summary> ///<returns>ASYNC task: unknown</returns> public static async Task <PFML.Shared.Model.DbDtos.VoluntaryPlanWaiverRequestDto> GetRequestAsync(PFML.Shared.Model.DbDtos.VoluntaryPlanWaiverRequestDto VoluntaryPlanWaiverRequestDto) { using (OperationClient client = new OperationClient(servicePath, "GetRequest")) { client.Value = VoluntaryPlanWaiverRequestDto; return(await client.ReadAsync <PFML.Shared.Model.DbDtos.VoluntaryPlanWaiverRequestDto>()); } }
///<summary>ASYNC Web Service call: unknown</summary> ///<returns>ASYNC task: unknown</returns> public static async Task <System.Collections.Generic.List <PFML.Shared.Model.DbDtos.VoluntaryPlanWaiverRequestDto> > GetListAsync(int EmployerId) { using (OperationClient client = new OperationClient(servicePath, "GetList")) { client.Value = EmployerId; return(await client.ReadAsync <System.Collections.Generic.List <PFML.Shared.Model.DbDtos.VoluntaryPlanWaiverRequestDto> >()); } }
///<summary>ASYNC Web Service call: unknown</summary> ///<returns>ASYNC task: unknown</returns> public static async Task <PFML.Shared.ViewModels.Premium.Waiver.VPRequestForm> SetDataAsync(int EmployerId) { using (OperationClient client = new OperationClient(servicePath, "SetData")) { client.Value = EmployerId; return(await client.ReadAsync <PFML.Shared.ViewModels.Premium.Waiver.VPRequestForm>()); } }
///<summary>ASYNC Web Service call: unknown</summary> ///<returns>ASYNC task: unknown</returns> public static async Task <System.Collections.Generic.List <PFML.Shared.ViewModels.Premium.Waiver.VPRequestViewModel> > SubmitRequestAsync(PFML.Shared.ViewModels.Premium.Waiver.VPRequestForm VPRequestForm) { using (OperationClient client = new OperationClient(servicePath, "SubmitRequest")) { client.Value = VPRequestForm; return(await client.ReadAsync <System.Collections.Generic.List <PFML.Shared.ViewModels.Premium.Waiver.VPRequestViewModel> >()); } }
///<summary>ASYNC Web Service call: unknown</summary> ///<returns>ASYNC task: unknown</returns> public static async Task <System.Collections.Generic.List <PFML.Shared.ViewModels.Premium.Waiver.VPRequestViewModel> > GetListAsync(int EmployerId) { using (OperationClient client = new OperationClient(servicePath, "GetList")) { client.Value = EmployerId; return(await client.ReadAsync <System.Collections.Generic.List <PFML.Shared.ViewModels.Premium.Waiver.VPRequestViewModel> >()); } }
///<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>ASYNC Web Service call: unknown</summary> ///<returns>ASYNC task: unknown</returns> public static async Task <System.Collections.Generic.List <PFML.Shared.Model.DbDtos.VoluntaryPlanWaiverRequestDto> > SubmitRequestAsync(PFML.Shared.Model.DbDtos.VoluntaryPlanWaiverRequestDto VPRequestForm) { using (OperationClient client = new OperationClient(servicePath, "SubmitRequest")) { client.Value = VPRequestForm; return(await client.ReadAsync <System.Collections.Generic.List <PFML.Shared.Model.DbDtos.VoluntaryPlanWaiverRequestDto> >()); } }
///<summary>ASYNC Web Service call: unknown</summary> ///<returns>ASYNC task: unknown</returns> public static async Task <PFML.Shared.ViewModels.Premium.Registration.EmployerRegistrationViewModel> ValidateAdminInfoAsync(PFML.Shared.ViewModels.Premium.Registration.EmployerRegistrationViewModel employerRegistrationViewModel) { using (OperationClient client = new OperationClient(servicePath, "ValidateAdminInfo")) { client.Value = employerRegistrationViewModel; return(await client.ReadAsync <PFML.Shared.ViewModels.Premium.Registration.EmployerRegistrationViewModel>()); } }
///<summary>ASYNC Web Service call: unknown</summary> ///<returns>ASYNC task: unknown</returns> public static async Task <PFML.Shared.ViewModels.Premium.WageDetail.WageSubmission.WageSubmissionViewModel> AddAsync(PFML.Shared.ViewModels.Premium.WageDetail.WageSubmission.WageSubmissionViewModel wageDetail) { using (OperationClient client = new OperationClient(servicePath, "Add")) { client.Value = wageDetail; return(await client.ReadAsync <PFML.Shared.ViewModels.Premium.WageDetail.WageSubmission.WageSubmissionViewModel>()); } }
///<summary>ASYNC Web Service call: unknown</summary> ///<returns>ASYNC task: unknown</returns> public static async Task <System.Collections.Generic.List <PFML.Shared.ViewModels.Revenue.Employer> > SearchAsync(string name) { using (OperationClient client = new OperationClient(servicePath, "Search")) { client.Value = name; return(await client.ReadAsync <System.Collections.Generic.List <PFML.Shared.ViewModels.Revenue.Employer> >()); } }
///<summary>ASYNC Web Service call: unknown</summary> ///<returns>ASYNC task: unknown</returns> public static async Task <PFML.Shared.ViewModels.Revenue.Employer> GetEmployerAsync(int ID) { using (OperationClient client = new OperationClient(servicePath, "GetEmployer")) { client.Value = ID; return(await client.ReadAsync <PFML.Shared.ViewModels.Revenue.Employer>()); } }
public async Task <Vehicle[]> Read() { using (var client = new OperationClient()) { Vehicle[] a = await client.ReadAsync(); return(a); } }