コード例 #1
0
ファイル: MaasManager.cs プロジェクト: alizorlu/IKRAISYONETIM
 //private IImageBinaryDataManager _image;
 public EFMaasManager()
 {
     _repo     = new UnitOfRepo();
     _avans    = kernel.Get <IAvansManager>();
     _izin     = kernel.Get <IizinlerManager>();
     _personel = kernel.Get <IPersonellerManager>();
     _sirket   = kernel.Get <ISirketManager>();
     //_image = kernel.Get<IImageBinaryDataManager>();
     _kasa = kernel.Get <IKasaManager>();
 }
コード例 #2
0
 // 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>();
         }
     }
 }
コード例 #3
0
 public SirketManager(ISirketManager manager)
 {
     _manager = manager;
 }