コード例 #1
0
 public ResponseMessageWrap <int> DeleteById(long id)
 {
     return(new ResponseMessageWrap <int>
     {
         Body = QuestionRefKnowledgeService.DeleteById(id)
     });
 }
コード例 #2
0
 public ResponseMessageWrap <int> Update([FromBody] QuestionRefKnowledge questionRefKnowledge)
 {
     return(new ResponseMessageWrap <int>
     {
         Body = QuestionRefKnowledgeService.Update(questionRefKnowledge)
     });
 }
コード例 #3
0
 public QuestionRefKnowledgeController(QuestionRefKnowledgeService questionRefKnowledgeService, IQuestionRefKnowledgeRepository questionRefKnowledgeRepository)
 {
     QuestionRefKnowledgeService    = questionRefKnowledgeService;
     QuestionRefKnowledgeRepository = questionRefKnowledgeRepository;
 }