Esempio n. 1
0
        private static void ColorDelete()
        {
            ColorManager colorManager = new Business.Concrete.ColorManager(new EfColorDal());

            colorManager.Delete(new Color {
                Id = 9
            });
        }
Esempio n. 2
0
        private static void ColorAdd()
        {
            ColorManager colorManager = new Business.Concrete.ColorManager(new EfColorDal());

            colorManager.Add(new Color {
                Name = "Bordo"
            });
            colorManager.Add(new Color {
                Name = "Mavi"
            });
            colorManager.Add(new Color {
                Name = "Kırmızı"
            });
            colorManager.Add(new Color {
                Name = "Beyaz"
            });
        }