Datenschnittstelle erweitert

This commit is contained in:
HuskyTeufel
2022-05-30 15:51:01 +02:00
parent b2a9d46c4d
commit 455f57fd35
38 changed files with 647 additions and 116 deletions

View File

@@ -0,0 +1,26 @@
using DichtheitManagement.Contract;
using Mappings;
using Ninject;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace GuiWPF.ViewModel
{
internal class BauvorhabenEditPageViewModel : ViewModelBase
{
public BauvorhabenEditPageViewModel()
{
var kernel = new StandardKernel();
new KernelInitializer().Initialize(kernel);
var baustellen = kernel.Get<IBaustelleManager>();
var s = baustellen.GetBauvorhaben(1);
s.Standort = "Timbuktu";
baustellen.Update(s);
OnPropertyChanged("BauvorhabenListe");
}
}
}