Free cookie consent management tool by TermsFeed Policy Generator

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

Last change on this file since 6102 was 6076, checked in by msammer, 13 years ago

#1446 Changed RunCollectionTable for using it in the MVC-pluginhost. Changes for using real Run-objects in the table

File size: 1.2 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    public class QueryController : Controller {
17        public ActionResult Index() {
18            return View();
19        }
20
21        public ActionResult Menu() {
22            return View();
23        }
24
25        public ActionResult Filter() {
26            QueryServiceClient client = Query.GetClientFactory();
27
28
29            QueryModel qm = new QueryModel();
30            Session["SelectedSubMenu"] = "Filter";
31            return View(qm);
32        }
33
34        public ActionResult Results() {
35            QueryServiceClient client = Query.GetClientFactory();
36
37            QueryModel qm = new QueryModel();
38            Session["SelectedSubMenu"] = "Results";
39            return View(qm);
40        }
41
42        public ActionResult RunCollectionTable() {
43            return View();
44        }
45    }
46}
Note: See TracBrowser for help on using the repository browser.