public bool Delputdislike([FromBody] ArtCommentPlus artCommentPlus) { ArtCommentAccess artCommentAccess = new ArtCommentAccess(); return(artCommentAccess.DelPutDisLike(artCommentPlus)); }
public bool PutLike([FromBody] ArtCommentPlus artCommentPlus) { ArtCommentAccess artCommentAccess = new ArtCommentAccess(); return(artCommentAccess.PutLike(artCommentPlus)); }
public string GetComment(int Userid, int Articalid) { ArtCommentAccess artCommentAccess = new ArtCommentAccess(); return(artCommentAccess.GetArtCmt(Userid, Articalid)); }
public string GetComment2(int Userid) { ArtCommentAccess artCommentAccess = new ArtCommentAccess(); return(artCommentAccess.GetArtCmtandName(Userid)); }
public bool PostComment([FromBody] ArticalCmt articalCmt) { ArtCommentAccess artCommentAccess = new ArtCommentAccess(); return(artCommentAccess.PostArtComment(articalCmt)); }