Bug tracker: Modify the BugMaster view
After you create the
SaveBug action, you need to modify the BugMaster view. You do this by simply adding a link to the view. The link must navigate to the BugForm view. To do this, you have to call the ActionLink method of the HtmlHelper object. The actionName argument passes “CreateBug” and the controllerName argument passes “Bug”. Add the ID of the parent project to the route values.
EXAMPLE: For more information about the
ActionLink method, see the BugMaster.cshtml file of the downloaded sample project.