public List <MajorEntity> GetMajorsByName(string name)
        {
            var majors = _majorRepository.GetByName(name).Result;

            return(majors);
        }