title: Calling Partial View from Home/Index problem
body: <p>I am creating a web page that displays 3 different kind of followers (Red, Blue, Yellow) and a Filter form that users can use to filter.</p>
  
  <p>For instance, if the customer selects a Red option from the dropdown list, I wanna show them only the red followers.</p>
  
  <p>I am creating the select part for now, but I am getting an error which reads like this.</p>
  
  <blockquote>
    <p>The controller for path '/' was not found or does not implement IController.</p>
  </blockquote>
  
  <p>This is the </p>
  
  <p>AND this is the FilterController:</p>
  
  <pre><code> public class HomeController : Controller
  {
      private asp6Entities db = new asp6Entities();
      public ActionResult Index()
      {
          var allFlowers = db.FLOWERs.ToList();
          List&lt;FLOWER&gt; result = new List&lt;FLOWER&gt;();
          foreach (var flower in allFlowers)
          {
              FLOWER model = new FLOWER();
              model = flower;
              result.Add(model);
          }
          return View(result);
      }
  
      public ActionResult About()
      {
          ViewBag.Message = "Our History";
  
          return View();
      }
  
      public ActionResult Contact()
      {
          ViewBag.Message = "Main Store and Distribution Center.";
  
          return View();
      }
  
      [HttpPost]
      public ActionResult Index(FilterModel fromColorFilter)
      {
          string SelectedColor = (fromColorFilter.ColorSelected);
  
          var allFlowers = db.FLOWERs.ToList();
          List&lt;FLOWER&gt; result = new List&lt;FLOWER&gt;();
  
          foreach (var flower in allFlowers)
          {
              if (flower.COLOR.COLOR_NAME == SelectedColor)
              {
                  FLOWER model = new FLOWER();
                  model = flower;
                  result.Add(model);
              }
          }
  
          return View(result);
      }  
  }
  </code></pre>
  
  <p>THis is the Filter Controller:</p>
  
  <pre><code> public class FilterController : Controller
  {
      // GET: FilterModel
   private asp6Entities db = new asp6Entities();
      public ActionResult Index()
      {
          FilterModel model = new FilterModel();
  
          var color = db.COLORs.ToList().Select(s =&gt; new SelectListItem
          {
              Text = s.COLOR_NAME,
              Value = s.COLOR_ID.ToString()
          });
  
          return PartialView("~/Views/Shared/_FilterForm.cshtml", new FilterModel { AllColorOptions = color});
      }
  }
  </code></pre>
  
  <p>And This is the FilterMethod :</p>
  
  <pre><code>   public class FilterModel
  {
      //declaring the colors selection
      public string ColorSelected { get; set; }
  
      //Creating the Size selection
      public string SizeSelected { get; set; }
  
      //Creating the starting price selection
      public int StartingPriceSelection { get; set; }
  
      //Creating Ends price Selection
      public int EndingPriceSelection { get; set; }
  
  
      //creating IEnumerable of all color options
      public IEnumerable&lt;SelectListItem&gt; AllColorOptions { get; set; }
  
      //creating IEnumerable of all Size Options
      public IEnumerable&lt;SelectListItem&gt; AllSizeOptions { get; set; }
  
      //creating IEnumerable of Starting Price Options
      public IEnumerable&lt;SelectListItem&gt; AllStartingPriceOptions { get; set; }
  
      //creating IEnumerable of Ending Price Options
      public IEnumerable&lt;SelectListItem&gt; AllEndingPriceOptions { get; set; }
  }
  </code></pre>
  
  <p>This is the Home Index:</p>
  
  <p>In this Home Index</p>
  
  <pre><code>@Html.Action("Index","FilterForm");
  </code></pre>