Example #1
0
 public void CreateQuestionCategory(QuestionCategory category)
 {
     _unitOfWork.QuestionCategoryRepository.Insert(category);
     _unitOfWork.Save();
 }
Example #2
0
 public void UpdateQuestionCategory(QuestionCategory existingCat)
 {
     _unitOfWork.QuestionCategoryRepository.Update(existingCat);
     _unitOfWork.Save();
 }