Example #1
0
 public ActionResult Index()
 {
     ServiceReference1.ServicePCClient pc =
         new ServiceReference1.ServicePCClient();
     ServiceReference1.Post post = pc.GetPostById(1);
     return(View(post));
 }
Example #2
0
 public System.Threading.Tasks.Task <bool> AMDCommentAsync(ServiceReference1.Post post, ServiceReference1.Comment comment)
 {
     return(base.Channel.AMDCommentAsync(post, comment));
 }
Example #3
0
 public System.Threading.Tasks.Task <ServiceReference1.Comment[]> GetCommentsAsync(ServiceReference1.Post post)
 {
     return(base.Channel.GetCommentsAsync(post));
 }
Example #4
0
 public System.Threading.Tasks.Task <ServiceReference1.Post> UpdatePostAsync(ServiceReference1.Post post)
 {
     return(base.Channel.UpdatePostAsync(post));
 }
Example #5
0
 public System.Threading.Tasks.Task <bool> AddPostAsync(ServiceReference1.Post post)
 {
     return(base.Channel.AddPostAsync(post));
 }