Free cookie consent management tool by TermsFeed Policy Generator

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

Last change on this file since 6242 was 6226, checked in by msammer, 14 years ago

#1446 rebuild the shown table. Now it is possible to make a right 'details'-call via an action within the MVC

File size: 1.3 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            QueryModel qm = new QueryModel();
44            Session["QueryRuns"] = qm.getTestRuns();
45            return View(qm);
46        }
47    }
48}
Note: See TracBrowser for help on using the repository browser.