コード例 #1
0
 public ResponseMessageWrap <int> Update([FromBody] ExamScore examScore)
 {
     return(new ResponseMessageWrap <int>
     {
         Body = ExamScoreService.Update(examScore)
     });
 }
コード例 #2
0
 public ResponseMessageWrap <int> Insert([FromBody] ExamScore examScore)
 {
     return(new ResponseMessageWrap <int>
     {
         Body = ExamScoreService.Insert(examScore)
     });
 }
コード例 #3
0
 public ResponseMessageWrap <int> DeleteById(long id)
 {
     return(new ResponseMessageWrap <int>
     {
         Body = ExamScoreService.DeleteById(id)
     });
 }
コード例 #4
0
 public ExamScoreController(ExamScoreService examScoreService, IExamScoreRepository examScoreRepository)
 {
     ExamScoreService    = examScoreService;
     ExamScoreRepository = examScoreRepository;
 }