I'm trying to add a `Results` action method to the `SearchController` class in this file: [SearchController.cs](https://github.com/user3546086/TechJobsMVC/blob/master/src/TechJobs/Controllers/SearchController.cs). 

* The method should take in two parameters, specifying the type of search and the search term (I already did this - the field names were found in [Index.cshtml](https://github.com/user3546086/TechJobsMVC/blob/master/src/TechJobs/Views/Search/Index.cshtml)). After looking up the search results via the `JobData` class, I need to pass them into the [Index.cshtml](https://github.com/user3546086/TechJobsMVC/blob/master/src/TechJobs/Views/Search/Index.cshtml) View. *This is not the default view for this aciton*.
* I also need to pass `ListController.columnChoices` to the view, as is done in the `Index` method in [SearchController.cs](https://github.com/user3546086/TechJobsMVC/blob/master/src/TechJobs/Controllers/SearchController.cs).

First of all, I don't know if I'm looking up the search results via the JobData class correctly (The JobData class can be found in [JobData.cs](https://github.com/user3546086/TechJobsMVC/blob/master/src/TechJobs/Models/JobData.cs)). 

In the SearchController file, you can see that I tried this: 

```
public IActionResult Results (string searchType, string searchTerm)
{
    //look up search results via JobData class   
    JobData.FindByValue(searchTerm);

    //pass them into Views/Search/index.cshtml 

    //pass ListConroller.columnChoices to view, as is done in the Index method
    ViewBag.columns = ListController.columnChoices;
    ViewBag.title = "Search";
    return View();
}

```

I don't know if passing searchTerm to `JobData.FindByValue` is going to look up the search results. If not searchTerm, what should I pass to `JobData.FindByValue`? 

Second, I don't know how to pass the search results to the Index.cshtml View. I don't see a View method anywhere in that file - I don't know where the search result information goes and what formatting a pass would look like. 

Right now when I run this project, I'm actually getting an error message for Index.cshtml:

[![enter image description here](https://i.stack.imgur.com/1yLte.png)](https://i.stack.imgur.com/1yLte.png)

I haven't touched this file and it wasn't giving me an error message before - why now?

Also, [here](http://techjobs20170314011743.azurewebsites.net/) is a demo of this project working properly. 

Thanks for your help!