public ResponseMessageWrap <int> DeleteById(long id) { return(new ResponseMessageWrap <int> { Body = QuestionRefKnowledgeService.DeleteById(id) }); }
public ResponseMessageWrap <int> Update([FromBody] QuestionRefKnowledge questionRefKnowledge) { return(new ResponseMessageWrap <int> { Body = QuestionRefKnowledgeService.Update(questionRefKnowledge) }); }
public QuestionRefKnowledgeController(QuestionRefKnowledgeService questionRefKnowledgeService, IQuestionRefKnowledgeRepository questionRefKnowledgeRepository) { QuestionRefKnowledgeService = questionRefKnowledgeService; QuestionRefKnowledgeRepository = questionRefKnowledgeRepository; }