internal CommentViewModels addComment(string CommentContent, string IDPost, string IDUser) { CommentViewModels result = new CommentViewModels(); ReviewFilmsBus reviewBus = new ReviewFilmsBus(); BinhLuan binhLuan = new BinhLuan(); binhLuan.MS_BaiNhanXet = Int32.Parse(IDPost); binhLuan.MS_ThanhVien = IDUser; binhLuan.NoiDung = CommentContent; binhLuan.NgayDang = System.DateTime.Now; if (reviewBus.addComment(binhLuan)) { result = BinhLuan2ViewModels(binhLuan); } return(result); }