Adapted the repositories to the controllers
This commit is contained in:
@ -140,8 +140,8 @@ namespace Accounting.BLR
|
||||
|
||||
restab.ToList().ForEach(x =>
|
||||
{
|
||||
if (_accountRecords.GetAccountByDateBelKonto(x.BetalDatum, x.Belopp, x.Konto) == null)
|
||||
_accountRecords.AddAccountRecord(x);
|
||||
if (_accountRecords.GetAccountByDateBelKontoAsync(x.BetalDatum, x.Belopp, x.Konto) == null)
|
||||
_accountRecords.AddAccountRecordAsync(x);
|
||||
else { };
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user