예제 #1
0
        public void AddNewsLetter()
        {
            BLModel_NewsLetter.NewsLetterContent = "NewsLetterDesc";
            int result = _resourseBL.AddNewsLetter(DLModel_NewsLetter);

            Assert.IsTrue(result > 0, "Unable to Add");
        }
 public int AddNewsLetter(DTO.NewsLetter _newsLetter)
 {
     return(_resource.AddNewsLetter(Mapper.Map <DTO.NewsLetter, HCRGUniversity.Core.Data.Model.NewsLetter>(_newsLetter)));
 }