public static JobTitleServiceAttributes Get(int jobTitleID, int languageID, int countryID)
        {
            var data = new JobTitleServiceAttributes();

            data.jobTitleID        = jobTitleID;
            data.languageID        = languageID;
            data.countryID         = countryID;
            data.serviceAttributes = ServiceAttribute.GetGroupedJobTitleAttributes(jobTitleID, languageID, countryID);
            data.experienceLevels  = ExperienceLevel.GetList(languageID, countryID);

            return(data);
        }
예제 #2
0
        public static PublicUserJobTitleServiceAttributes Get(int userID, int jobTitleID, int languageID, int countryID)
        {
            var data = new PublicUserJobTitleServiceAttributes();

            data.userID            = userID;
            data.jobTitleID        = jobTitleID;
            data.languageID        = languageID;
            data.countryID         = countryID;
            data.serviceAttributes = ServiceAttribute.GetGroupedUserJobTitleAttributes(jobTitleID, userID, languageID, countryID);
            var experienceID = UserJobTitleServiceAttributes.GetExperienceLevelID(userID, jobTitleID, languageID, countryID);

            data.experienceLevel = ExperienceLevel.GetItem(experienceID, languageID, countryID);

            return(data);
        }