public ActionResult Get(TestUrl1 url)
 {
     return Redirect("www.example.com");
 }
示例#2
0
 public ResourceResult Post(TestUrl1 url, Test1ViewModel postedViewModel)
 {
     return SeeOther("www.example.com");
 }
 public ActionResult Get(TestUrl1 url)
 {
     return Found("www.example.com");
 }
示例#4
0
 public ResourceResult Get(TestUrl1 url)
 {
     return OK(new Test1ViewModel());
 }