Exemple #1
0
        public async Task <JsonResult> GenerateSettlementLetter(Guid overdraftID)
        {
            var res = await settlementProcessClient.GenerateSettlementLetter(new GenerateSettlementLetterParams()
            {
                IdentityWorkID = SessionModel.CompanyID,
                InstanceID     = SessionModel.InstanceID,
                OverdraftIDs   = new List <Guid>()
                {
                    overdraftID
                },
                Token = SessionModel.AuthorizationHeader
            });

            return(Json(res));
        }
 public Task <string> GenerateSettlementLetter(GenerateSettlementLetterParams parameters)
 {
     return(_client.GenerateSettlementLetter(parameters));
 }