예제 #1
0
 public void Delete(Question entity)
 {
     _questionDal.Delete(entity);
 }
 public void Delete(int questionId)
 {
     _questionDal.Delete(new Question {
         Id = questionId
     });
 }
예제 #3
0
 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"));
 }
예제 #6
0
 public IResult Delete(Question question)
 {
     _questionDal.Delete(question);
     return(new SuccessResult());
 }