title: Can I simplify this C# in my ViewModel?
body: <p>In my code I have the following:</p>
  
  <pre><code>    viewModel.Note.Modified = DateTime.Now;
      viewModel.Note.ModifiedBy = User.Identity.Name;
  </code></pre>
  
  <p>and in my view:</p>
  
  <pre><code>    [DisplayName("Modified")]
      public DateTime Modified { get; set; }
      [DisplayName("Modified By")]
      public string ModifiedBy { get; set; }
  </code></pre>
  
  <p>Could I just have my code change ModifiedBy and then have some code that runs in the ViewModel that changes the date of Modified when the Modified by is changed?</p>