title: Confirm form resubmission on child action persisting
body: <p>First of all, i want to assure that i have already read dozens of posts on SO resembling it, but none of them represents my exact issue and none of answers were able to help me get rid of "Confirm form re-submission".</p>
  
  <p>Using ASP.NET mvc5, i have created a comment table, class, views(not partial) and actions for list and create. </p>
  
  <p>When a user adds comment, it is successfully added to the table, but when he refreshes the page even without entering anything in the comment box, Confirm form re-submission appears. If he click continue, same comment is added to database again, which i don't want.</p>
  
  <p>On webpages which comment functionality is to be added, my code is</p>
  
  <pre><code>@Html.Action("Create", "Comment");
  </code></pre>
  
  <p>My action methods to add comment are</p>
  
  <pre><code>public actionResult Create()
  {
      return View();
  }
  
  [HttpPost]
  public actionResult Create(Comments comments)
  {
      //create logic
     return View("Create") // Also tried giving no argument.
  }   
  </code></pre>
  
  <p>Most of solutions on places recommend redirect to action to a get method, but it  gives yellow page error that child action can't perform redirect. Any help is appreciated. Thanks in advance</p>