text: ﻿var coursesStudents = function () {
  
      //Students
      var includedStudentOneCourse = function (idStudent, idCourse) {
          Util.request("/CoursesStudents/LinkStudentToCourse", "POST", { idCourse, idStudent }, "JSON", function (data) {
              location.reload()
          });
      }
  
      //Students
      var removeStudentOneCourse = function (idStudent, idCourse) {
          Util.request("/CoursesStudents/RemoveLinkStudentToCourse", "POST", { idCourse, idStudent }, "JSON", function () {
              location.reload()
          });
      }
  
      //Course
      var includedCourseOneStudent = function (idStudent, idCourse) {
          Util.request("/CoursesStudents/LinkCourseToStudent", "POST", { idCourse, idStudent }, "JSON", function (data) {
              location.reload()
          });
      }
  
      //Course
      var removeCourseOneStudent = function (idStudent, idCourse) {
          Util.request("/CoursesStudents/RemoveLinkCourseToStudent", "POST", { idCourse, idStudent }, "JSON", function (data) {
              location.reload()
          });
      }
  
      return { includedStudentOneCourse, removeStudentOneCourse, includedCourseOneStudent, removeCourseOneStudent }
  }();
  
  