public void GetTeachersByStudnetIdTest()
        {
            CrossTable cross = new CrossTable();

            var expected = "First Name";

            var actual = cross.GetTeachersByStudnetId(2);

            Assert.AreEqual(expected, actual.First().FirstName);
        }
        public IHttpActionResult GetTeachersByStudentId(int id)
        {
            var teachers = cross.GetTeachersByStudnetId(id);

            if (!teachers.Any())
            {
                return(Content(HttpStatusCode.NotFound, "List is empty"));
            }

            return(Ok(teachers));
        }