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