示例#1
0
 public object Any(ViewThatUsesLayoutAndModel request)
 {
     return(new ViewThatUsesLayoutAndModelResponse {
         Name = request.Id ?? "Foo",
         Results = new List <string> {
             "Tom", "Dick", "Harry"
         }
     });
 }
示例#2
0
 public object Any(ViewThatUsesLayoutAndModel request)
 {
     return new ViewThatUsesLayoutAndModelResponse {
         Name = request.Id ?? "Foo",
         Results = new List<string> { "Tom", "Dick", "Harry" }
     };
 }