예제 #1
0
 public HomeModule()
 {
     Get["/"] = _ => {
     return View["index.cshtml"];
       };
       Post["/"] = _ => {
     Clock newClock = new Clock(Request.Form["hours"], Request.Form["min"]);
     return View["index.cshtml",newClock.ReturnDegrees()];
       };
 }