예제 #1
0
        public void AddPrivacyPolicy()
        {
            BLModel_Pol.PrivacyPolicyContent = "PolicyDesc";
            int result = _resourseBL.AddPrivacyPolicy(BLModel_Pol);

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