private GetPostComments ( int postid ) : System.Web.Mvc.PartialViewResult | ||
postid | int | |
return | System.Web.Mvc.PartialViewResult |
public PartialViewResult GetPostComments(int postid)
{
return PartialView(CommentServices.FindAllEntities(c => c.PostId == postid,null,null));
}