public void Update(Gamer gamer) { Console.WriteLine("Gamer Updated!"); }
public void Update(Campaign campaign, Gamer gamer, Sales sales) { Console.WriteLine(campaign.CampaignName + " kampanyası yenilendi "); }
public void Delete(Gamer gamer) { Console.WriteLine("Kayıt silindi."); }
public bool Validate(Gamer gamer) { return(true); }
public BasketManager(Game game, Gamer Gamer, SalesCampaign salesCampaig) { _salesCampaign = salesCampaig; _game = game; _gamer = Gamer; }
public void Delete(Gamer gamer) { Console.WriteLine("Kayıt Güncellendi"); }
public void Buy(Gamer gamer, Campaign campaign, Game game) { Console.WriteLine("Satış gerçekleşti.Oyunun adı: " + game.GameName + " " + "Oyuncunun adı: " + gamer.FirstName + " Kampanyanın adı:" + " " + campaign.CampaignName); }
public bool Validate(Gamer gamer) { KPSPublicSoapClient client = new KPSPublicSoapClient(KPSPublicSoapClient.EndpointConfiguration.KPSPublicSoap); return(client.TCKimlikNoDogrulaAsync(new TCKimlikNoDogrulaRequest(new TCKimlikNoDogrulaRequestBody(gamer.IdentityNumber, gamer.FirstName, gamer.LastName, gamer.BirthYear))).Result.Body.TCKimlikNoDogrulaResult); }
public void SellCampaign(Gamer gamer, Game game, Campaign campaign) { Console.WriteLine("{0} adlı oyuncu {1} oyununu {2} kampanyası ile satın aldı.", gamer.Name, game.Name, campaign.Name); }
public void BuyGame(Games games, Gamer gamer) { Console.WriteLine(gamer.FirstName + " " + "Successfully bought:" + games.GameName); }
public void AddToCart(Games games, Gamer gamer) { Console.WriteLine(games.GameName + " " + ":Game successfully added to" + " " + gamer.FirstName + "'s" + " cart"); }
public void Add(Gamer gamer) { Console.WriteLine("Kayıt Olundu"); }
internal void Add(Gamer gamer, Campaign campaign) { Console.WriteLine(gamer.FirstName + " " + "Adlı Oyuncu" + " " + campaign.CampaignName + " " + "Uyguladı"); }
public void Sale(Campaign campaign, Gamer gamer) { Console.WriteLine(gamer.Id + "Numaralı Müşteri" + campaign.CampaignName + "Kampanyayı uyguladı"); }
public void Delete(Gamer gamer) { Console.WriteLine("Hesap silindi"); }
public void Sales(Gamer gamer, Game game) { Console.WriteLine("{0} adlı oyuncu {1} oyununu satın aldı.", gamer.Name, game.Name); }
public void Update(Gamer gamer) { Console.WriteLine("Hesap güncellendi"); }
public void Delete(Gamer gamer) { Console.WriteLine("Oyuncu Silindi."); }
public void Update(Gamer gamer) { Console.WriteLine("Kayıt Silindi"); }
public void Update(Gamer gamer) { Console.WriteLine("Oyuncu Bilgileri Guncellendi."); }
// DOğrula //UservalidaManager true/false olacağından bool Validate(Gamer gamer);
public void Delete(Game game, Campaign campaign, Gamer gamer) { Console.WriteLine("İndirim silindi"); }
public void sale(Gamer gamer, Campaign campaign) { Console.WriteLine("The game has been sold to the gamer: " + gamer.FirstName + gamer.LastName + " with " + campaign.CampaingName + " with " + campaign.discountRate + " discount rate"); }
public void Update(Game game, Campaign campaign, Gamer gamer) { Console.WriteLine("İndirim güncellendi"); }
public void Delete(Campaign campaign, Gamer gamer, Sales sales) { Console.WriteLine(campaign.CampaignName + " kampanyası silindi "); }
public void Add(Game game, Campaign campaign, Gamer gamer) { Console.WriteLine("İndirim eklendi"); }
public void Add(Campaign campaign, Gamer gamer, Sales sales) { Console.WriteLine(gamer.FirstName + " adlı kullanıcı " + sales.GameName + " oyununu % " + campaign.CampaignPercent + " indirim miktarı ile " + campaign.CampaignName + " kampanyasından faydalanarak satın almıştır "); }
static void Main(string[] args) { GamerManager gamerManager = new GamerManager(new NewEStateUserValidationSystem()); gamerManager.Add(new Gamer { Id = 1, UserName = "******", FirstName = "Ahmet", LastName = "Yoldaş", BirthYear = "1999", IdentityNumber = 0123456, Password = "******", }); gamerManager.Add(new Gamer { Id = 2, UserName = "******", FirstName = "RUMEYSA ", LastName = "ÖZDEMİR", BirthYear = "1994", IdentityNumber = 12345, Password = "******" });; Game game1 = new Game() { Id = 1, Name = "Hitman 2", Price = 79.90 }; Game game2 = new Game() { Id = 2, Name = "Assassin's Creed 2 Brotherhood", Price = 54.90 }; GameManager gameManager = new GameManager(); gameManager.Add(game1); gameManager.Add(game2); SpecialOffer specialOffer1 = new SpecialOffer() { Id = 1, Name = "Büyük Cuma Kampanyası", DiscountRate = 15 }; SpecialOffer specialOffer2 = new SpecialOffer() { Id = 2, Name = "Dev Teknoloji Kampanyası", DiscountRate = 20 }; SpecialOfferManager specialOfferManager = new SpecialOfferManager(); specialOfferManager.Add(specialOffer1); specialOfferManager.Add(specialOffer2); Gamer gamer1 = new Gamer() { Id = 1, IdentityNumber = 0123456, FirstName = "Ahmet", LastName = "Yoldaş", BirthYear = "1999", UserName = "******", Password = "******" }; SaleManager saleManager = new SaleManager(); saleManager.Sale(gamer1, game1); saleManager.DiscountedSale(gamer1, game2, specialOffer2); }
public void Update(Gamer gamer) { Console.WriteLine("Kayıt güncellendi."); }
public void Delete(Gamer gamer) { Console.WriteLine("Gamer Deleted!"); }