Example #1
0
 public LookupAllTypesModule(LookupAllTypesHandler handler)
 {
     Post["/lookupalltypes"] = x =>
         {
             var res = handler.GetLookupAllTypesResponse();
             return Response.AsJson(res);
         };
 }
Example #2
0
 public LookupAllTypesModule(LookupAllTypesHandler handler)
 {
     Post["LookupAllTypes", "/lookupalltypes"] = x =>
     {
         var res = handler.GetLookupAllTypesResponse();
         return(Response.AsJson(res));
     };
 }