コード例 #1
0
        public SingleRsp DeleteClassStudent(ClassStudentReq clt)
        {
            var          res          = new SingleRsp();
            ClassStudent classstudent = new ClassStudent();

            classstudent.Id        = clt.Id;
            classstudent.ClassId   = clt.ClassId;
            classstudent.StudentId = clt.StudentId;
            res = _rep.DeleteClassStudent(classstudent);
            return(res);
        }
コード例 #2
0
        public IActionResult DeleteClassStudent([FromBody] ClassStudentReq req)
        {
            var res = _svc.DeleteClassStudent(req);

            return(Ok(res));
        }