title: ActionLink in MVC4 doesn't solve the Action in controller
body: <p>I have a student controller with some actions when i want to link my controller's action ,my view can't find my action's name.</p>
  
  <p>So you can see my controller's action :</p>
  
  <pre><code>namespace EducationMVC.Controllers
  {
      [Authorize]
  
      public class StudentController : Controller
      {
          //
          // GET: /Student/
          private StudentRepositor obj = new StudentRepositor();
  
          public ActionResult Index()
          {
              var model = obj.GetStudentlist();
  
              return View(model);
          }
          public ActionResult ScheduleStudentList(string id)
          {
              var model = obj.GetStudentlistOfSchedule(id);
  
              return View("Index",model);
          }
          public ActionResult Create()
          {
              return View("Create");
  
              // return View();
          }
          [HttpPost]
          public ActionResult Create(Student student)
  
          {
              student.RegisterDate = DateTime.Now.Date;
              obj.AddNewStudent(student);
              obj.Save();
              return RedirectToAction("Index", "Student");
          }
          public ActionResult Edit(int id)
          {
  
              return View(obj.FindStudentById(id));
          }
  
          [HttpPost]
          public ActionResult Edit(Student student)
          {
  
              if (ModelState.IsValid)
              {
                  obj.Update(student);
                  obj.Save();
              }
              return RedirectToAction("Index", "Student");
          }
          public ActionResult Delete(int id)
          {
              obj.RemoveStudent(obj.FindStudentById(id));
              obj.Save();
              return RedirectToAction("Index", "Student");
  
              // return View();
          }
  
      }
  }
  </code></pre>
  
  <p>Here is my view :</p>
  
  <pre><code>@model IEnumerable&lt;EducationMVC.Models.SchedulePresentation&gt;
  
  
  @{
      ViewBag.Title = "Index";
  }
  
  &lt;h2&gt;Index&lt;/h2&gt;
  
  &lt;p&gt;
      @Html.ActionLink("Create New", "Create")
  &lt;/p&gt;
  &lt;table&gt;
      &lt;tr&gt;
          &lt;th&gt;
              @Html.DisplayNameFor(model =&gt; model.teacherName)
          &lt;/th&gt;
          &lt;th&gt;
              @Html.DisplayNameFor(model =&gt; model.lessonName)
          &lt;/th&gt;
          &lt;th&gt;
              @Html.DisplayNameFor(model =&gt; model.className)
          &lt;/th&gt;
          &lt;th&gt;
              @Html.DisplayNameFor(model =&gt; model.degreeName)
          &lt;/th&gt;
          &lt;th&gt;
              @Html.DisplayNameFor(model =&gt; model.facultyName)
          &lt;/th&gt;
          &lt;th&gt;
              @Html.DisplayNameFor(model =&gt; model.semesterName)
          &lt;/th&gt;
          &lt;th&gt;
              @Html.DisplayNameFor(model =&gt; model.majorName)
          &lt;/th&gt;
          &lt;th&gt;
              @Html.DisplayNameFor(model =&gt; model.DateOfExam)
          &lt;/th&gt;
          &lt;th&gt;
              @Html.DisplayNameFor(model =&gt; model.Capacity)
          &lt;/th&gt;
          &lt;th&gt;
              @Html.DisplayNameFor(model =&gt; model.examLocation)
          &lt;/th&gt;
          &lt;th&gt;&lt;/th&gt;
      &lt;/tr&gt;
  
  @foreach (var item in Model) {
      &lt;tr&gt;
          &lt;td&gt;
              @Html.DisplayFor(modelItem =&gt; item.teacherName)
          &lt;/td&gt;
          &lt;td&gt;
              @Html.DisplayFor(modelItem =&gt; item.lessonName)
          &lt;/td&gt;
          &lt;td&gt;
              @Html.DisplayFor(modelItem =&gt; item.className)
          &lt;/td&gt;
          &lt;td&gt;
              @Html.DisplayFor(modelItem =&gt; item.degreeName)
          &lt;/td&gt;
          &lt;td&gt;
              @Html.DisplayFor(modelItem =&gt; item.facultyName)
          &lt;/td&gt;
          &lt;td&gt;
              @Html.DisplayFor(modelItem =&gt; item.semesterName)
          &lt;/td&gt;
          &lt;td&gt;
              @Html.DisplayFor(modelItem =&gt; item.majorName)
          &lt;/td&gt;
          &lt;td&gt;
              @Html.DisplayFor(modelItem =&gt; item.DateOfExam)
          &lt;/td&gt;
          &lt;td&gt;
              @Html.DisplayFor(modelItem =&gt; item.Capacity)
          &lt;/td&gt;
          &lt;td&gt;
              @Html.DisplayFor(modelItem =&gt; item.examLocation)
          &lt;/td&gt;
          &lt;td&gt;
              @Html.ActionLink("ویرایش", "Edit", new {  id=item.id }) |
              @Html.ActionLink("حذف", "Delete", new { id=item.id  })|
              @Html.ActionLink("لیست دانشجویان  ","ScheduleStudentList","StudentController", new { id=item.id  })
  
  
          &lt;/td&gt;
      &lt;/tr&gt;
  }
  
  &lt;/table&gt;
  </code></pre>
  
  <p>So as you can see in view the last line :</p>
  
  <pre><code>@Html.ActionLink("لیست دانشجویان  ","ScheduleStudentList","StudentController", new { id=item.id  })
  </code></pre>
  
  <p>can't find <strong>ScheduleStudentList</strong> action.It just find <strong>index</strong> and <strong>delete</strong> and <strong>edit</strong> action's .so what  should i do ?</p>
  
  <p>Best regards</p>