public RedirectToRouteResult AddCampus(AddCampus model) { var campusId = Guid.NewGuid(); // For now, so we don't redirect to a non-existent campus campusId = FacilitiesSingleton.Facilities.GetChildren(Guid.Empty).First().Item1; return this.RedirectToAction(c => c.Details(campusId)); }
public RedirectToRouteResult AddCampus(AddCampus model) { var campusId = Guid.NewGuid(); // For now, so we don't redirect to a non-existent campus campusId = FacilitiesSingleton.Facilities.GetChildren(Guid.Empty).First().Item1; return(this.RedirectToAction(c => c.Details(campusId))); }