static void Main(string[] args) { GamerManager gamerManager = new GamerManager(new CustomerValidationService()); gamerManager.Save(new Gamer { Id = 1, FirstName = "Görkem", LastName = "Karagöl", Age = 18 }); CampaignManager campaignManager = new CampaignManager(); Campaigns blackFriday = new Campaigns(); blackFriday.Id = 1; blackFriday.CampaignName = "Black Friday"; blackFriday.CampaignDescription = "Dünyanın en büyük kampanyası"; campaignManager.Add(blackFriday); }
public void GameSale(Gamer gamer, Campaigns campaigns) { Console.WriteLine("Sayın " + gamer.FirstName + " Oyunu " + campaigns.CampaignName + " kampanyasında başarıyla satın aldınız!"); }
public void Add(Campaigns campaigns) { Console.WriteLine(campaigns.CampaignName + " Added"); }