Free cookie consent management tool by TermsFeed Policy Generator

source: branches/WebApplication/MVC2/HLWebOKBQueryPlugin/Controllers/QueryController.cs @ 5974

Last change on this file since 5974 was 5919, checked in by cfleisch, 14 years ago

#1439 Example implementation of method GetFilters() in view Filter added

File size: 1.1 KB
Line 
1using System;
2using System.Collections.Generic;
3using System.Linq;
4using System.Web;
5using System.Web.Mvc;
6//using HLWebOKBAdminPlugin.ViewModels;
7using System.Web.Security;
8using System.ServiceModel.Security;
9//using HLWebPluginHost.OKBService;
10using System.Diagnostics;
11using HLWebPluginHost.Models;
12using HLWebOKBQueryPlugin.OKBQueryService;
13using HLWebOKBQueryPlugin.Helpers;
14
15namespace HLWebOKBQueryPlugin.Controllers
16{
17    public class QueryController : Controller
18    {
19        public ActionResult Index()
20        {
21            return View();
22        }
23
24        public ActionResult Menu()
25        {
26            return View();
27        }
28
29        public ActionResult Filter()
30        {
31            QueryServiceClient client = Query.GetClientFactory();
32
33
34            QueryModel qm = new QueryModel();
35            Session["SelectedSubMenu"] = "Filter";
36            return View(qm);
37        }
38
39        public ActionResult Results()
40        {
41            QueryModel qm = new QueryModel();
42            Session["SelectedSubMenu"] = "Results";
43            return View(qm);
44        }
45    }
46}
Note: See TracBrowser for help on using the repository browser.