public void UpdatefaqCategory() { DLModel.FAQCategoryTitle = "test ing tesing"; DLModel.FAQCatID = 1; int result = _faqBL.UpdateFAQCategory(DLModel); Assert.IsTrue(result > 0, "Unable to update"); }
public int UpdateFAQCategory(FAQCategory faqCategory) { return(_faq.UpdateFAQCategory(Mapper.Map <DTO.FAQCategory, HCRGUniversity.Core.Data.Model.FAQCategory>(faqCategory))); }