Mvvm Pattern erweitert

This commit is contained in:
Husky
2020-02-21 08:50:00 +01:00
parent 183646b4da
commit 5798fc6108
7 changed files with 51 additions and 52 deletions

View File

@@ -28,11 +28,9 @@ namespace KanSan
{
InitializeComponent();
this.Title = ProgrammHashVersion.GIT_HASH;
UnitOfWork unitOfWork = new UnitOfWork(new KanSanContext());
var d = unitOfWork.KundenRepository.Get().First();
UI.UCKundeEdit uCKundeEdit = new UI.UCKundeEdit(d);
UI.UCKundeEdit uCKundeEdit = new UI.UCKundeEdit();
ContentController.Content = uCKundeEdit;
}