/// <summary>
 /// Adds a new episode on the database.
 /// </summary>
 /// <param name="episode">The new episode.</param>
 public void Create(Episode episode)
 {
     _context.Episodes.Add(episode);
     _context.SaveChanges();
 }
 /// <summary>
 /// Deletes an exisitng episode on the database.
 /// </summary>
 /// <param name="episode">The episode to be deleted.</param>
 public void Delete(Episode episode)
 {
     _context.Episodes.Remove(episode);
     _context.SaveChanges();
 }
 /// <summary>
 /// Updates an exisitng episode on the database.
 /// </summary>
 /// <param name="episode">The episode to be updated.</param>
 public void Update(Episode episode)
 {
     _context.Entry<Episode>(episode).State = EntityState.Modified;
     _context.SaveChanges();
 }