// GET: Bikes/Details/5
        public ActionResult Details(int?id)
        {
            if (id == null)
            {
                return(new HttpStatusCodeResult(HttpStatusCode.BadRequest));
            }

            var bike = _bikeBll.Get(id.Value);

            if (bike == null)
            {
                return(HttpNotFound());
            }
            return(View(bike));
        }
        // GET: api/Bike/5
        public BikeViewModel Get(int id)
        {
            var bike = _bikeBll.Get(id);

            return(Mapper.Map <BikeViewModel>(bike));
        }