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