public string AssignCourseToTeacher(CourseAssignTeacher assignCourse)
        {
            if (aCourseAssignGateway.IsCourseAlreadyAssigned(assignCourse))
            {
                return("Course Already Assigned");
            }

            int rowAffected = aCourseAssignGateway.AssignCourseToTeacher(assignCourse);

            if (rowAffected > 0)
            {
                return("Course assign successful");
            }
            else
            {
                return("Course assign failed");
            }
        }
        public bool IsCourseAlreadyAssigned(int courseId)
        {
            CourseAssignGateway aCourseAssignGateway = new CourseAssignGateway();

            return(aCourseAssignGateway.IsCourseAlreadyAssigned(courseId));
        }