예제 #1
0
        public ChannelViewModel()
        {
            var channelService = new ChannelService();
            var user           = LoginService.User;

            if (user != null)
            {
                UserName = user.Name;
                channelService.GetAvailableByUserid(Channels, user.Id);
                IconPath = user.IconPath;
            }
        }