public ResponseMessageWrap <int> Update([FromBody] ExamScore examScore) { return(new ResponseMessageWrap <int> { Body = ExamScoreService.Update(examScore) }); }
public ResponseMessageWrap <int> Insert([FromBody] ExamScore examScore) { return(new ResponseMessageWrap <int> { Body = ExamScoreService.Insert(examScore) }); }
public ResponseMessageWrap <int> DeleteById(long id) { return(new ResponseMessageWrap <int> { Body = ExamScoreService.DeleteById(id) }); }
public ExamScoreController(ExamScoreService examScoreService, IExamScoreRepository examScoreRepository) { ExamScoreService = examScoreService; ExamScoreRepository = examScoreRepository; }