public ActionResult Index() { var model = new PageViewModel(); model.View = "Disclaimer"; model.Title = "Disclaimer"; return View("StandardPageLayout", model); }
public ActionResult Index() { var model = new PageViewModel(); model.View = "PrivacyPolicy"; model.Title = "Privacy Policy"; return View("StandardPageLayout", model); }
public ActionResult Index() { var model = new PageViewModel(); model.View = "Investors"; model.Title = "Investors"; model.SelectedNavigation = "Investors"; return View("StandardPageLayout", model); }
public ActionResult Index() { var model = new PageViewModel(); model.View = "Home"; model.Title = "Castlerock Property"; model.SelectedNavigation = "Home"; return View("StandardPageLayout", model); }
public ActionResult Index() { var model = new PageViewModel(); model.View = "AustralianMap"; model.Title = "Properties"; model.SelectedNavigation = "Properties"; model.Model = new PropertyPageViewModel(); return View("StandardPageLayout", model); }
public ActionResult Index() { var model = new PageViewModel(); model.View = "Experience"; model.Title = "Experience"; model.SelectedNavigation = "Experience"; model.Model = this.GetProperties(ServiceLocator.GetPropertyService().GetManagedProperties()); return View("StandardPageLayout", model); }
public ActionResult Show(int propertyId, string propertyName) { PropertyPageViewModel propertyModel = new PropertyPageViewModel(); var property = ServiceLocator.GetPropertyService().GetPropertyById(propertyId); var properties = ServiceLocator.GetPropertyService().GetProperties(property.State); propertyModel.CompleteProperties = properties.ToList().FindAll(o => o.IsComplete); propertyModel.InCompleteProperties = properties.ToList().FindAll(o => !o.IsComplete); propertyModel.State = property.State.ToString(); propertyModel.Property = property; var model = new PageViewModel(); model.View = "Property"; model.Title = "Properties"; model.SelectedNavigation = "Properties"; model.Model = propertyModel; return View("StandardPageLayout", model); }
public ActionResult State(State state) { PropertyPageViewModel propertyModel = new PropertyPageViewModel(); var properties = ServiceLocator.GetPropertyService().GetProperties(state); propertyModel.CompleteProperties = properties.ToList().FindAll(o => o.IsComplete); propertyModel.InCompleteProperties = properties.ToList().FindAll(o => !o.IsComplete); propertyModel.State = state.ToString(); if (this.Request.IsAjaxRequest()) { return this.PartialView("PropertiesInState", propertyModel); } var model = new PageViewModel(); model.View = "AustralianMap"; model.Title = "Properties"; model.SelectedNavigation = "Properties"; model.Model = propertyModel; return View("StandardPageLayout", model); }