title: How to provide action "success" feedback to user in ASP.NET MVC?
body: <p>Lets say we have an Edit View to edit our data, and we want to let the user know the result of their edit ie. to confirm that it was indeed saved successfully on the Model.</p>
  
  <p>One solution is to assign a message to ViewData in the Edit Controller action method, and then use the View to display the message back to the user.</p>
  
  <p>e.g. In the Edit Controller action method:</p>
  
  <pre><code>ViewData["EditResult"] = "All is well in the world.";
  </code></pre>
  
  <p>... and somewhere in the View:</p>
  
  <pre><code>&lt;%= ViewData["EditResult"] %&gt;
  </code></pre>
  
  <p>This is nice and easy, but is this the best way to provide feedback from the controller to the View? What are some other alternatives as I seem to be borderline on putting presentation type stuff in the Controller.</p>