Move some Utils functions to AppDbContext
This commit is contained in:
1 parent
d5b9af541f
commit
0333e8a5c5
5 files changed
+29
-27
No files matched your search
@@ -94,7 +94,7 @@ namespace Elwig.Windows {
|
||||
}
|
||||
|
||||
private async void InitInputs() {
|
||||
MgNrInput.Text = (await Utils.NextMgNr(Context)).ToString();
|
||||
MgNrInput.Text = (await Context.NextMgNr()).ToString();
|
||||
EntryDateInput.Text = DateTime.Now.ToString("dd.MM.yyyy");
|
||||
if (Context.Branches.Count() == 1)
|
||||
BranchInput.SelectedItem = Context.Branches.First();
|
||||
|
||||
Reference in new issue
Block a user