public ActionResult PostNewBand(int id) { Venue selectedVenue = Venue.Find(id); Band selectedBand= Band.Find(int.Parse(Request.Form["band_id"])); selectedVenue.AddBandtoVenue(selectedBand); return RedirectToAction("Index",selectedVenue); }
public ActionResult PostNewBand(int id) { Venue selectedVenue = Venue.Find(id); Band selectedBand= Band.Find(int.Parse(Request.Form["band_id"])); selectedVenue.AddBandtoVenue(selectedBand); return RedirectToAction("Index",selectedVenue); }