public PartialViewResult NavBar() { BaseLabelsViewModel model = new BaseLabelsViewModel { Labels = _labelCollectionRetriever.Get("NavBar") }; return(PartialView("_NavBar", model)); }
public ViewResult Error() { var model = new DashboardErrorViewModel { Labels = _labelCollectionRetriever.Get("DashboardErrorPage") }; return(View("Error", model)); }
public ViewResult Index() { LoginViewModel model = new LoginViewModel { Labels = _labelCollectionRetriever.Get("LoginPage") }; return(View("index", model)); }
public ViewResult Index() { const string collectionName = "Home Page"; LabelCollection labelCollection = _labelCollectionRetriever.Get(collectionName); return(View(new HomeViewModel { Labels = labelCollection })); }
public DashboardViewModel Get() { var organisation = _organisationService.Get(); var applications = _applicationService.GetByOrganisationId(); var labels = _labelCollectionRetriever.Get("DashboardPage"); return(new DashboardViewModel { Organisation = organisation, Applications = applications, Labels = labels }); }
private LabelCollection GetLabelCollection() { return(_labelCollectionRetriever.Get("ApplicationPage")); }