New function add / change accountrecord
This commit is contained in:
@ -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;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user