public GetProfessorById_Result GetProfessorById(int id)
        {
            using (var context = new MVC_IF4101MVCLPACEntities())
            {
                var professor = context.GetProfessorById(id).Single();

                return(professor);
            }
        }