Beispiel #1
0
        public async Task <JsonResult> ApplySettlement(ApplySettlementProcessParams applySettlementParameters)
        {
            applySettlementParameters.InstanceID       = SessionModel.InstanceID;
            applySettlementParameters.user             = SessionModel.IdentityID;
            applySettlementParameters.IdentityWorkID   = SessionModel.CompanyID;
            applySettlementParameters.LicenseServiceID = SessionModel.LicenseServiceID;
            applySettlementParameters.LicenseID        = SessionModel.LicenseID;
            applySettlementParameters.AuthTkn          = SessionModel.AuthorizationHeader;

            await settlementProcessClient.ApplySettlement(applySettlementParameters);

            return(Json("OK"));
        }
 public Task <ApplySettlementProcessResult> ApplySettlement(ApplySettlementProcessParams parameters)
 {
     return(_client.ApplySettlement(parameters));
 }