-
Notifications
You must be signed in to change notification settings - Fork 15
/
Copy pathMainModule.cs
40 lines (40 loc) · 1.01 KB
/
MainModule.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
using Nancy;
namespace r2warsTorneo
{
public class MainModule : NancyModule
{
public MainModule()
{
Get["/"] = x => View["index.html"];
}
}
/*public class r2warsModule : NancyModule
{
public r2warsModule() : base("/r2wars")
{
Get["/refresh"] = x =>
{
//return r2wars.Codigo.r2wars.json_output();
return "";
};
Get["/next"] = x =>
{
//r2wars.Codigo.r2wars.btStep_Click();
//return r2wars.Codigo.r2wars.json_output();
return "";
};
Get["/start"] = x =>
{
//r2wars.Codigo.r2wars.btAuto_Click();
//return "";
return "";
};
Get["/reset"] = x =>
{
//r2wars.Codigo.r2wars.btInit_Click();
//return r2wars.Codigo.r2wars.json_output();
return "";
};
}
}*/
}