Ejemplo n.º 1
0
        static void Main(string[] args)
        {
            Campaigns halfPriceCampain = new Campaigns()
            {
            };
            GamersManager gamersManager = new GamersManager()
            {
            };
            GamesManager gamesManager = new GamesManager()
            {
            };
            Games game = new Games()
            {
            };
            Gamers gamer = new Gamers()
            {
            };

            gamer.GamerTc    = "1234567890";
            gamer.GamerName  = "Türker Özakıncı";
            gamer.GamerPhone = "5555554433";
            game.GameName    = "Codemino";


            gamesManager.AddGame(game);
            gamersManager.TcKontrol(gamer);
            List <Games> games = new List <Games>()
            {
                game
            };
            List <Gamers> gamers = new List <Gamers>()
            {
                gamer
            };
            List <Campaigns> campains = new List <Campaigns>()
            {
                halfPriceCampain
            };

            gamesManager.SellGame(games, gamers, campains);
        }
Ejemplo n.º 2
0
 public void AddGamer(Gamers gamer)
 {
     Console.WriteLine(gamer.GamerName + " oyuncusu için kayıt oluşturuldu...");
 }
Ejemplo n.º 3
0
 public void TcKontrol(Gamers gamer)
 {
     Console.WriteLine("TC Kimlik no kontrolü yapıldı");
 }
Ejemplo n.º 4
0
 public void DeleteGamer(Gamers gamer)
 {
     Console.WriteLine(gamer.GamerTc + " " + gamer.GamerName + " " + gamer.GamerPhone + " " + " oyuncusu Silindi.");
 }