public void UpdateNewsVideo() { BLModel.NewsID = 2; BLModel.NewsVideos = "Video testtt 11"; BLModel.NewsVideoID = 5; int result = _newsVideoBL.UpdateNewsVideo(BLModel); Assert.IsTrue(result > 0, "Unable to update"); }
public int UpdateNewsVideo(DTO.NewsVideo newsVideo) { return(_newsVideo.UpdateNewsVideo(Mapper.Map <DTO.NewsVideo, HCRGUniversity.Core.Data.Model.NewsVideo>(newsVideo))); }