Skip to content

Commit

Permalink
TODO LaunchCode-Education-Archived#1 - get the Job with the given ID …
Browse files Browse the repository at this point in the history
…and pass it into the view
  • Loading branch information
tonomoshia committed Nov 27, 2019
1 parent a75f584 commit f8e8c9f
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/TechJobs/Controllers/JobController.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc;
using TechJobs.Data;
using TechJobs.Models;
using TechJobs.ViewModels;

namespace TechJobs.Controllers
Expand All @@ -19,7 +20,7 @@ static JobController()
public IActionResult Index(int id)
{
// TODO #1 - get the Job with the given ID and pass it into the view

Job AJob = jobData.Find(id);
return View();
}

Expand Down

0 comments on commit f8e8c9f

Please sign in to comment.