示例#1
0
        public void UpdateAboutUs()
        {
            BLModel.Description = "testing tesing testing tesing testing tesing asdf asdf sad";
            BLModel.AboutUsID   = 2;
            int result = _aboutUsBL.UpdateAboutUs(BLModel);

            Assert.IsTrue(result > 0, "Unable to update");
        }
 public int UpdateAboutUs(DTO.AboutUs aboutUs)
 {
     return(_aboutUs.UpdateAboutUs(Mapper.Map <DTO.AboutUs, HCRGUniversity.Core.BL.Model.About>(aboutUs)));
 }