Beispiel #1
0
        public ActionResult Create(Trip newTrip)
        {
            newTrip.Owner = User.Identity.Name;
            _tripManager.AddTrip(newTrip);

            return(RedirectToAction("Index"));
        }