Code cleanup
This commit is contained in:
@@ -109,7 +109,7 @@ namespace SewerStammGen.WPF.ViewModel
|
||||
}
|
||||
else
|
||||
{
|
||||
_dataService.Update(_model.Id, _model);
|
||||
_dataService.Update(_model);
|
||||
}
|
||||
_renavigator.Renavigate();
|
||||
}
|
||||
|
||||
@@ -61,7 +61,9 @@ namespace SewerStammGen.WPF.ViewModel
|
||||
private async void LoadProjekte()
|
||||
{
|
||||
var projects = await genericDataService.GetAll();
|
||||
|
||||
InitCollection(_projekte, projects);
|
||||
|
||||
}
|
||||
|
||||
private void InitCollection(ObservableCollection<Projekt> projekte, IEnumerable<Projekt> projects)
|
||||
|
||||
Reference in New Issue
Block a user