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 | |
---|
1 | using System;
|
---|
2 | using System.Collections.Generic;
|
---|
3 | using System.Linq;
|
---|
4 | using System.Web;
|
---|
5 | using System.Web.Mvc;
|
---|
6 | //using HLWebOKBAdminPlugin.ViewModels;
|
---|
7 | using System.Web.Security;
|
---|
8 | using System.ServiceModel.Security;
|
---|
9 | //using HLWebPluginHost.OKBService;
|
---|
10 | using System.Diagnostics;
|
---|
11 | using HLWebPluginHost.Models;
|
---|
12 | using HLWebOKBQueryPlugin.OKBQueryService;
|
---|
13 | using HLWebOKBQueryPlugin.Helpers;
|
---|
14 |
|
---|
15 | namespace 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.