コード例 #1
0
 public void Delete(Question entity)
 {
     _questionDal.Delete(entity);
 }
コード例 #2
0
 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
     });
 }
コード例 #5
0
 public IResult Delete(Question question)
 {
     _questionDal.Delete(question);
     return(new SuccessResult("Your Question successfull deleted"));
 }
コード例 #6
0
ファイル: QuestionManager.cs プロジェクト: UtkuMutlu22/EBook
 public IResult Delete(Question question)
 {
     _questionDal.Delete(question);
     return(new SuccessResult());
 }