예제 #1
0
 public CodeCheckModule(CodeCheckHandler handler)
 {
     Post["CodeCheck", "/codecheck"] = x =>
         {
             var req = this.Bind<Request>();
             var res = handler.CodeCheck(req);
             return Response.AsJson(new QuickFixResponse(res));
         };
 }
예제 #2
0
 public CodeCheckModule(CodeCheckHandler handler)
 {
     Post["/codecheck"] = x =>
     {
         var req = this.Bind <Request>();
         var res = handler.CodeCheck(req);
         return(Response.AsJson(new QuickFixResponse(res)));
     };
 }