Пример #1
0
 /// <summary>Anies the given request.</summary>
 ///
 /// <param name="request">The request.</param>
 ///
 /// <returns>An object.</returns>
 public object Any(ViewThatUsesLayoutAndModel request)
 {
     return(new ViewThatUsesLayoutAndModelResponse
     {
         Name = request.Id ?? "Foo",
         Results = new List <string> {
             "Tom", "Dick", "Harry"
         }
     });
 }
Пример #2
0
 /// <summary>Anies the given request.</summary>
 ///
 /// <param name="request">The request.</param>
 ///
 /// <returns>An object.</returns>
 public object Any(ViewThatUsesLayoutAndModel request)
 {
     return new ViewThatUsesLayoutAndModelResponse
     {
         Name = request.Id ?? "Foo",
         Results = new List<string> { "Tom", "Dick", "Harry" }
     };
 }