title: Save and Close in Current Window in WPF-MVVM
body: <p>I have two buttons Save, Save &amp; Close in my window. If user clicks on Save, I am able to successfully save the details. I am unable to figure out on how to close window, when user clicks on Save &amp; Close. Here is my code for Save</p>
  
  <pre><code>&lt;telerik:RadButton x:Name="button_Save" Content="Save" Command="{Binding SaveProductCommand}" CommandParameter="{Binding ElementName=ProductName, Path=Text}" /&gt;
  </code></pre>
  
  <p>Here is my Relay Command.</p>
  
  <pre><code>public ICommand SaveProductCommand
  {
    get 
    {
      return new RelayCommand&lt;string&gt;(SaveProductExecute);
    } 
   }
  </code></pre>
  
  <p>My First Question:</p>
  
  <p>Can we pass one more parameter True or false for Save and Save&amp;Close ? So that we can use only one Relay Command for both ?</p>
  
  <p>Second Question:</p>
  
  <p>How to close current Window after Saving ?</p>