public ActionResult View(int conferenceId, int locationId) { var Location = _repository.GetLocation(conferenceId, locationId); if (Location == null) { Location = new Location() { ConferenceId = conferenceId }; } DotNetNuke.Framework.ServicesFramework.Instance.RequestAjaxAntiForgerySupport(); return View(Location); }
public ActionResult Edit(int conferenceId, int locationId) { var location = _repository.GetLocation(conferenceId, locationId); if (location == null) { location = new Location() { ConferenceId = conferenceId }; } return View(location.GetLocationBase()); }
public ActionResult View(int conferenceId, int locationId) { var Location = _repository.GetLocation(conferenceId, locationId); if (Location == null) { Location = new Location() { ConferenceId = conferenceId }; } return View(Location); }