Exemple #1
0
        protected override void Dispose(bool disposing)
        {
            if (disposing)
            {
                superheroRepository?.Dispose();
                filmSuperheroesRepository?.Dispose();

                db?.Dispose();
            }
            base.Dispose(disposing);
        }