public void CreateQuestionCategory(QuestionCategory category) { _unitOfWork.QuestionCategoryRepository.Insert(category); _unitOfWork.Save(); }
public void UpdateQuestionCategory(QuestionCategory existingCat) { _unitOfWork.QuestionCategoryRepository.Update(existingCat); _unitOfWork.Save(); }