Last change
on this file since 6247 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 | |
---|
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 | 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.