/// <summary> /// Display the Base View for the maintenance screen. This allows the user to search for and see a list of the records. /// </summary> /// <param name="model">Model</param> /// <returns>Displays the initial view of the page</returns> public virtual ActionResult Index(WebsiteDataListViewModel model) { return(Index <WebsiteDataListViewModel>(model)); }
/// <summary> /// List Implementation for the new screen. This returns an AJAX response for the datatables object on the page. /// </summary> /// <param name="model">Model</param> /// <param name="dataTablesModel">Data Table Model</param> /// <returns></returns> public virtual ActionResult List(WebsiteDataListViewModel model = null, [ModelBinder(typeof(JQueryDataTablesModelBinder))] JQueryDataTablesParameterModel dataTablesModel = null) { return(JQueryDataTablesList <WebsiteDataListViewModel, WebsiteDataEntityService, WebsiteDataEntityPagedListRequest, WebsiteDataEntityPagedListResponse, WebsiteData>(model, dataTablesModel)); }
/// <summary> /// Allows the list view model to be populated with drop down lists and other data to support the /// search criteria /// </summary> /// <typeparam name="TViewModel">Model</typeparam> /// <param name="model">Model</param> protected override void PopulateAdditionalListViewModelAttributes <TViewModel>(TViewModel model) { base.PopulateAdditionalListViewModelAttributes <TViewModel>(model); WebsiteDataListViewModel listModel = model as WebsiteDataListViewModel; }