Exemplo n.º 1
0
        public ActionResult DisplayAvailableMusicForLoggedUser()
        {
            var identityKey = User.Identity.GetUserId();
            int userId      = _userAccountService.ConvertGuidInStringIdToIntId(identityKey);

            ViewBag.AvailableMusicList = _musicStoreDisplayService.DisplayAllAvailableSongs(userId);
            ViewBag.userId             = userId;
            return(View());
        }