Ejemplo n.º 1
0
        public static List <UserFriendsBO> getAllSuggestions(string UserId)
        {
            List <UserFriendsBO> list = FriendsDAL.getAllSuggestions(UserId);

            foreach (UserFriendsBO Useritem in list)
            {
                BasicInfoBO info = BasicInfoDAL.getBasicInfoByUserId(Useritem.FriendUserId);
                Useritem.Hometown = info.HomeTown;
                Useritem.Location = info.CurrentCity;
                EmployerBO emp = EmployerDAL.getEmployerByUserId(Useritem.FriendUserId);

                Useritem.Employer = emp.Organization;

                UniversityBO uni = UniversityDAL.getUniversityByUniversityId(Useritem.FriendUserId);
                Useritem.Education = uni.UniversityName;
            }
            return(list);
        }
Ejemplo n.º 2
0
 public static EmployerBO getEmployerByUserId(string UserId)
 {
     return(EmployerDAL.getEmployerByUserId(UserId));
 }