title: What can I do to come back to this previous view in C#/.NET?
body: <p>I am pretty new in C# and .NET MVC framework and I have the following problem.</p>
  
  <p>I have a first <strong>JQuery Mobile</strong> view that show a <strong>navbar</strong> containing some tabs. Into one of this tab I putted a <strong>ListView</strong> that show the element of a collection of <strong>DataModel.Vulnerability.Fix</strong> objects represented by the <strong>Model.VulnerabilityFixes</strong> into my model object. On the right of every element of the list I have put a button/link to delete the related <strong>Fix</strong> object that generate this row in the list.</p>
  
  <p>This work fine and I obtain the following result (I post a screenshot):</p>
  
  <p><img src="https://i.stack.imgur.com/zbecq.png" alt="enter image description here"></p>
  
  <p>This is the code of the previous tab (the one that show the Fix list):</p>
  
  <pre><code>&lt;!-- TAB-2: FIXES, SOLUTION e MITIGATING STRATEGY: --&gt;
    &lt;div id="tab-2" class="ui-body-d ui-content"&gt;
  
      &lt;h3&gt;Fixes&lt;/h3&gt;
  
      &lt;a href="@Url.Action("SearchCPE", "Asset", new { id = Model.Id })"  data-icon="plus"  data-inline="true" data-mini="true"  data-role="button"  &gt;Aggungi un Fix&lt;/a&gt;
  
      &lt;!-- Tabella contenente la lista delle fix: --&gt;
      &lt;ul data-role="listview" data-inset="true" data-theme="b" data-split-icon="delete"&gt;
          @foreach (DataModel.Vulnerability.Fix item in Model.VulnerabilityFixes)
          {
  
  
              &lt;li&gt;&lt;a href="@Url.Action("Details", "Product", new { Title = item.Title })"&gt;
                  &lt;h2&gt;@item.Title&lt;/h2&gt;
                  &lt;table style="width: 100%"&gt;
                      &lt;tr&gt;
                          &lt;th&gt;Id&lt;/th&gt;
                          &lt;th&gt;FixName&lt;/th&gt;
                          &lt;th&gt;Vendor&lt;/th&gt;
                          &lt;th&gt;Version&lt;/th&gt;
                      &lt;/tr&gt;
                      &lt;tr&gt;
                          &lt;td&gt;@MyHelper.decodeNull(item.Id)&lt;/td&gt;
                          &lt;td&gt;@MyHelper.decodeNull(item.FixName)&lt;/td&gt;
                          &lt;td&gt;@MyHelper.decodeNull(item.Vendor)&lt;/td&gt;
                          &lt;td&gt;@MyHelper.decodeNull(item.Version)&lt;/td&gt;
                      &lt;/tr&gt;
                  &lt;/table&gt;
  
              &lt;/a&gt;
                  &lt;a href="@Url.Action("DeleteFix", "Editing", new { vulnId = Model.Id, currentFixId = item.Id, currentFixName = item.FixName })"&gt;Delete&lt;/a&gt;
  
              &lt;/li&gt;
          }
      &lt;/ul&gt;
    &lt;/div&gt;
   &lt;!-- /tab-2 --&gt;
  </code></pre>
  
  <p>Ok, now I have a <strong>DeleteFix()</strong> method into the <strong>EditingController</strong> class that handle the request generated clicking od the <strong>Delete</strong> button.</p>
  
  <p>This one:</p>
  
  <pre><code>    public ActionResult DeleteFix(long vulnId, int currentFixId, string currentFixName) 
      {
  
          DataModel.Vulnerability.Fix model = new DataModel.Vulnerability.Fix();
  
          manager.openConnection();
  
          try
          {
              model.Id = currentFixId;
              model.FixName = currentFixName;
          }
          finally
          {
              manager.closeConnection();
          }
  
          return View(model);
  
      }
  </code></pre>
  
  <p>This method show another view, the <strong>DeleteFix.cshtml</strong> file, that show a confirm window where is asked to the user to confirm the delete operation or if come back to the previous page, this is the code:</p>
  
  <pre><code>@model DataModel.Vulnerability.Fix
  
  @{
      ViewBag.Title = "DeleteFix";
      Layout = "~/Views/Shared/MasterPageMobile.cshtml";
  }
  
  &lt;h1&gt;Delete Fix&lt;/h1&gt;
  
  &lt;h2&gt;Fix: @Model.Title (id: @Model.Id)&lt;/h2&gt;
  
  &lt;p&gt;
      Confermare la cancellazione del fix "@Model.FixName" ?
  &lt;/p&gt;
  
  @using (Html.BeginForm())
  {
      @Html.AntiForgeryToken()
      &lt;input type="hidden" name="id" value ="@Model.Id" /&gt;
  
      &lt;div data-role="controlgrup" data-type="horizontal" data-mini="true"&gt;
          &lt;a href="@Url.Action("Index", "Editing", new { id = Model.Id })"   data-inline="true"  data-mini="true"  data-role="button"  &gt;Torna alla lista&lt;/a&gt;
          &lt;a href="@Url.Action("Details", "Groups", new { id = Model.Id })"   data-mini="true"  data-inline="true"   data-role="button"  &gt;Annulla&lt;/a&gt;
  
          &lt;input type="submit" value="Delete" data-mini="true" data-inline="true" /&gt;
      &lt;/div&gt;
  }
  </code></pre>
  
  <p>My problem is that I want that if the user click on the <strong>Torna alla lista</strong> button it have to be taken to the initial view that show the list of Fix object but I can't do it</p>
  
  <p>Someone can help me to understand what am I missing? What can I do to obtain this result?</p>
  
  <p>Tnx</p>