//Ödeme geçmişi // GET: paid public paidController() { lock (_siparisLock) { if (_siparis == null) { _siparis = kernel.Get <ISiparisManager>(); } } }
public EFOdemeManager() { _repo = new UnitOfRepo(); lock (_siparisLock) { if (_siparis == null) { _siparis = kernel.Get <ISiparisManager>(); } } }
// GET: authPartial public authPartialController() { //Her seferinde yenilenerek işaretlenir. _siparis = kernel.Get <ISiparisManager>(); lock (_cariLock) { if (_cari == null) { _cari = kernel.Get <ICarilerManager>(); } } }
// GET: order public orderController() { #region Cihaz Hareketleri İçin Kullanılan Modüller lock (_hareketLock) { if (_hareket == null) { _hareket = kernel.Get <IMusteriHareketManager>(); } } lock (_clientLock) { if (_client == null) { _client = kernel.Get <IClientManager>(); } } #endregion lock (_yemekLock) { if (_yemek == null) { _yemek = kernel.Get <IYemekManager>(); } } lock (_cariLock) { if (_cari == null) { _cari = kernel.Get <ICarilerManager>(); } } lock (_odemeLock) { if (_odeme == null) { _odeme = kernel.Get <IOdemeManager>(); } } lock (_kasaLock) { if (_kasa == null) { _kasa = kernel.Get <IKasaManager>(); } } _siparis = kernel.Get <ISiparisManager>(); _iyzico = kernel.Get <IIyzicoPaymentManager>(); }
public frmSiparislerList() { InitializeComponent(); lock (_siparisLock) { if (_siparis == null) { _siparis = kernel.Get <ISiparisManager>(); } } siparisTmr.Start(); _sonSiparisSayisi = _siparis.SiparisSayiControl(); SiparisLoad(); }
// GET: profile public profileController() { #region Cihaz Hareketleri İçin Kullanılan Modüller lock (_hareketLock) { if (_hareket == null) { _hareket = kernel.Get <IMusteriHareketManager>(); } } lock (_clientLock) { if (_client == null) { _client = kernel.Get <IClientManager>(); } } #endregion lock (_cariLock) { if (_cari == null) { _cari = kernel.Get <ICarilerManager>(); } } lock (_hashLock) { if (_hash == null) { _hash = kernel.Get <IHashManager>(); } } lock (_siparisLock) { if (_siparis == null) { _siparis = kernel.Get <ISiparisManager>(); } } lock (_sirketLock) { if (_sirket == null) { _sirket = kernel.Get <ISirketManager>(); } } }
void SiparisSayisiControl() { //string if (_siparis.SiparisSayiControl() == _sonSiparisSayisi) { } else { GC.SuppressFinalize(_siparisLock); GC.SuppressFinalize(_siparis); lock (_siparisLock) { _siparis = kernel.Get <ISiparisManager>(); } SiparisLoad(); _sonSiparisSayisi = _siparis.SiparisSayiControl(); } this.TextExtra = $"Son sipariş denetimi :{DateTime.Now.ToShortTimeString()}"; }
public homeController() { lock (_yemekLock) { if (_yemek == null) { _yemek = kernel.Get <IYemekManager>(); } } lock (_siparisLock) { if (_siparis == null) { _siparis = kernel.Get <ISiparisManager>(); } } lock (_cariLock) { if (_cari == null) { _cari = kernel.Get <ICarilerManager>(); } } }