diff --git a/MvvmCommunityApp/MainWindow.xaml b/MvvmCommunityApp/MainWindow.xaml
index e468cda..c58d23f 100644
--- a/MvvmCommunityApp/MainWindow.xaml
+++ b/MvvmCommunityApp/MainWindow.xaml
@@ -11,6 +11,9 @@
+
+
diff --git a/MvvmCommunityApp/viewmodels/MainWindowViewModel.cs b/MvvmCommunityApp/viewmodels/MainWindowViewModel.cs
index f17cf38..79b3065 100644
--- a/MvvmCommunityApp/viewmodels/MainWindowViewModel.cs
+++ b/MvvmCommunityApp/viewmodels/MainWindowViewModel.cs
@@ -8,6 +8,9 @@ namespace MvvmCommunityApp.viewmodels
{
public string Title { get; set; }
+ [ObservableProperty]
+ private string _customer;
+
public MainWindowViewModel()
{
Title = "MyIocName";
@@ -19,5 +22,11 @@ namespace MvvmCommunityApp.viewmodels
{
Console.WriteLine("Do Add");
}
+
+ [RelayCommand]
+ private void Update()
+ {
+ Customer = "New Customer";
+ }
}
}