// GET: Passengers
        public ActionResult Index()
        {
            //PassengersViewModel model = new PassengersViewModel();

            //User user = System.Web.HttpContext.Current.GetOwinContext()
            //            .GetUserManager<ApplicationUserManager>()
            //            .FindById(System.Web.HttpContext.Current.User.Identity.GetUserId());

            ////Passenger passenger = _passengerRepository.GetPassengerByUser(user.Id);


            ////Ride ride = new Ride()
            ////{
            ////    Id = model.RideId,
            ////    StartLocation = model.StartLocation,
            ////    EndLocation = model.EndLoaction,
            ////    PassengerId = passenger.Id,
            ////    RideStatus = RideStatus.NotAccepted,
            ////};



            var VehicleTypesList = new List <SelectListItem>();
            var vehicleTypes     = _vehicleTypeRepository.GetAll();

            foreach (var vT in vehicleTypes)
            {
                VehicleTypesList.Add(new SelectListItem()
                {
                    Value = vT.Name, Text = vT.Name
                });
            }

            ViewBag.VehicleTypes = VehicleTypesList;


            var PaymentTypesList = new List <SelectListItem>();
            var paymentTypes     = _paymentTypeRepository.GetAll();

            foreach (var pT in paymentTypes)
            {
                PaymentTypesList.Add(new SelectListItem()
                {
                    Value = pT.Name, Text = pT.Name
                });
            }

            ViewBag.PaymentTypes = PaymentTypesList;

            User user = System.Web.HttpContext.Current.GetOwinContext()
                        .GetUserManager <ApplicationUserManager>()
                        .FindById(System.Web.HttpContext.Current.User.Identity.GetUserId());

            Passenger passenger = _passengerRepository.GetPassengerByUser(user.Id);
            var       ride      = _rideRepository.Find(r => r.PassengerId == passenger.Id && (r.RideStatus == RideStatus.OnGoing || r.RideStatus == RideStatus.NotAccepted)).FirstOrDefault();

            if (ride != null)
            {
                ViewBag.Msg = "Soon some of our best drivers will contact with you. Thank you for using our service.";
            }


            return(View(new PassengersViewModel()));
        }