Наследование: Connect.Conference.Core.Models.Locations.LocationBase
Пример #1
0
 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);
 }
Пример #2
0
 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());
 }
Пример #3
0
 public ActionResult View(int conferenceId, int locationId)
 {
     var Location = _repository.GetLocation(conferenceId, locationId);
     if (Location == null) { Location = new Location() { ConferenceId = conferenceId }; }
     return View(Location);
 }