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); }
public IActionResult DeleteClassStudent([FromBody] ClassStudentReq req) { var res = _svc.DeleteClassStudent(req); return(Ok(res)); }