コード例 #1
0
        public List <Common.Data.General.Profile> RetrieveAllProfiles()
        {
            var profileList = new List <Common.Data.General.Profile>();

            try
            {
                profileList = new Store.Service.Profile.ProfileStore(_connectionString).GetAllProfiles();
            }
            catch (Exception e)
            { }

            return(profileList);
        }
コード例 #2
0
        public Common.Data.General.Profile GetProfile(string userName, int regionId, int platformId)
        {
            var profile = new Common.Data.General.Profile();

            try
            {
                profile = new Store.Service.Profile.ProfileStore(_connectionString).GetProfileByUsername(userName, regionId, platformId);
            }
            catch (Exception e)
            {
            }

            return(profile);
        }