public void Delete(Question entity) { _questionDal.Delete(entity); }
public void Delete(int questionId) { _questionDal.Delete(new Question { Id = questionId }); }
public IResult DeleteQuestion(Question question) { _questionDal.Delete(question); return(new SuccessResult(Messages.DeletedSuccess)); }
public void Delete(int id) { _context.Delete(new Question { Id = id }); }
public IResult Delete(Question question) { _questionDal.Delete(question); return(new SuccessResult("Your Question successfull deleted")); }
public IResult Delete(Question question) { _questionDal.Delete(question); return(new SuccessResult()); }