Esempio n. 1
0
        public static async Task UpdateBalances(this LeaseRowVM row)
        {
            var mkt  = row.MainWindow.AppArgs.MarketState;
            var conv = new BalanceAdjConverter1(row.Lease, row.MainWindow);
            var byfs = await conv.GetByfRecords();

            if (conv.ErrorText.IsBlank())
            {
                conv.ReplaceAll(byfs, mkt);
            }
            else
            {
                row.Errors = conv.ErrorText;
            }
        }