コード例 #1
0
        public void AddEducationFormatAvailable()
        {
            DLModel.EducationFormatID = 1;
            DLModel.EducationID       = 1;
            int result = _educationFormatAvialableBL.AddEducationFormatAvailable(DLModel);

            Assert.IsTrue(result > 0, "Unable to Add");
        }
コード例 #2
0
 //education format table link methods...hp
 public int AddEducationFormatAvailable(EducationFormatAvailable educationFormatAvailable)
 {
     return(_educationFormatAvailable.AddEducationFormatAvailable(Mapper.Map <DTO.EducationFormatAvailable, HCRGUniversity.Core.Data.Model.EducationFormatAvailable>(educationFormatAvailable)));
 }