if (req.boundParams.exercise?.assignmentName!=req.boundParams.assignment?.name){
if (req.boundParams.exercise?.assignmentName!=req.boundParams.assignment?.name){
returnreq.session.sendResponse(res,StatusCodes.BAD_REQUEST,undefined,'The exercise does not belong to the assignment',DojoStatusCode.ASSIGNMENT_EXERCISE_NOT_RELATED);
returnreq.session.sendResponse(res,StatusCodes.BAD_REQUEST,undefined,'The exercise does not belong to the assignment',DojoStatusCode.ASSIGNMENT_EXERCISE_NOT_RELATED);