Example #1
0
 public FindTypesModule(FindTypesHandler handler)
 {
     Post["FindTypes", "/findtypes"] = x =>
     {
         var res = handler.FindAllTypes();
         return(Response.AsJson(res));
     };
 }
Example #2
0
 public FindTypesModule(FindTypesHandler handler)
 {
     Post["/findtypes"] = x =>
         {
             var res = handler.FindAllTypes();
             return Response.AsJson(res);
         };
 }