Esempio n. 1
0
        public static void Delete(PaperType paperType, int id)
        {
            switch (paperType)
            {
            case PaperType.Book:
                BookStorage.DeleteById(id);
                break;

            case PaperType.Jornal:
                JornalStorage.DeleteById(id);
                break;

            case PaperType.NewsPaper:
                NewsPaperStorage.DeleteById(id);
                break;
            }
        }