PlaylistGetByIdWithDetails() public method

public PlaylistGetByIdWithDetails ( int id ) : PlaylistWithDetails
id int
return PlaylistWithDetails
        // GET: Playlists/Details/5
        public ActionResult Details(int?id)
        {
            // Study the Details view

            // Attempt to get the matching object
            var o = m.PlaylistGetByIdWithDetails(id.GetValueOrDefault());

            if (o == null)
            {
                return(HttpNotFound());
            }
            else
            {
                // Pass the object to the view
                return(View(o));
            }
        }