Exemplo n.º 1
0
        public void AddReturnPolicy()
        {
            BLModel_ReturnPolicy.ReturnPolicyContent = "ReturnPolicyDesc";
            int result = _resourseBL.AddReturnPolicy(BLModel_ReturnPolicy);

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