public static Artist GetRandomArtistFromUser(User user) { int num = rand.Next(user.Artists.Count); return(EntitiesFactory.GetArtistFromArtistId(user.Artists[num].ToString(), conn)); }