New function add / change accountrecord

This commit is contained in:
2023-09-14 23:41:30 +02:00
parent d7774c70ee
commit 0c0533f9d5
8 changed files with 510 additions and 2 deletions

View File

@ -74,4 +74,10 @@ public class AccountRecordRepository : IAccountRecordRepository
return _dataContext.AccountRecords;
}
public AccountRecord GetAccount(int id)
{
var accountRec = _dataContext.AccountRecords.FirstOrDefault(a => a.Id == id);
return accountRec;
}
}