public void AddPodcast(int playlistID, string title, string description, string audio, byte[] image, DateTime creationDate, int ageRestriction) { var person = new Podcast { PlaylistID = playlistID, Title = title, Description = description, AudioPath = audio, Image = image, CreationDate = creationDate, AgeRestriction = ageRestriction }; PodcastRepository.AddPodcast(person); }