public Playlist Create(Playlist newPlaylist)
        {
            this.playlists.Add(newPlaylist);

            this.playlists.SaveChanges();

            return newPlaylist;
        }
        public void addPlaylistView_InsertItem()
        {
            var item = new Playlist();
            item.DateCreated = DateTime.Now;
            item.AuthorId = User.Identity.GetUserId();

            TryUpdateModel(item);

            if (ModelState.IsValid)
            {
                this.playlistServices.Create(item);
            }
        }