public bool AddOrUpdate(Question entity) { ExceptionHandling.HandleException(() => { ValidationTool.Validate(new QuestionValidator(), entity); _efQuestionDal.AddOrUpdateQuestion(entity); }); return(true); }
public bool AddOrUpdate(Question entity) { ExceptionHandling.HandleException(() => { ValidationTool.Validate(new QuestionValidator(), entity); _efQuestionDal.AddOrUpdateQuestion(entity); }); return(true); }