public void GetTopSellingCarsTest()
 {
     HomeDAL target = new HomeDAL(); // TODO: Initialize to an appropriate value
     int count = 5; // TODO: Initialize to an appropriate value
     // List<Car> expected = null; // TODO: Initialize to an appropriate value
     List<Car> actual;
     actual = target.GetTopSellingCars(count);
     Assert.IsNotNull(actual);
     // Assert.Inconclusive("Verify the correctness of this test method.");
 }
        public ActionResult Index()
        {
            /*if (catalogDB.Database.Exists())
            {*/

            //  Get most popular cars
            HomeDAL dal = new HomeDAL();
            var cars = dal.GetTopSellingCars(5);

            return View(cars);

            /*}*/
            /*else catalogDB.Database.Create();
            return View();*/
        }
 public void HomeDALConstructorTest()
 {
     HomeDAL target = new HomeDAL();
        // Assert.Inconclusive("TODO: Implement code to verify target");
 }