public ActionResult Create(Bike bike)
        {
            if (ModelState.IsValid)
            {
                _bikeRepository.Add(bike);
                return RedirectToAction("Index");
            }

            return View(bike);
        }
 public void Update(Bike bike)
 {
     _context.Entry(bike).State = System.Data.EntityState.Modified;
     _context.Save();
 }
 public void Remove(Bike bike)
 {
     _context.Bikes.Remove(bike);
     _context.Save();
 }
 public void Add(Bike bike)
 {
     _context.Bikes.Add(bike);
        _context.Save();
 }