public FormAnaSayfaIcerik() { var container = DependecyResolver.NinjectDependecyContainer.RegisterDependency(new StandardKernel()); _personelRepository = container.Get <IPersonelRepository>(); _sistemYoneticisiRepository = container.Get <ISistemYoneticisiRepository>(); _klinikRepository = container.Get <IKlinikRepository>(); _hizmetRepository = container.Get <IHizmetRepository>(); _tahlilRepository = container.Get <ITahlilRepository>(); _kurumRepository = container.Get <IKurumRepository>(); _randevuRepository = container.Get <IRandevuRepository>(); InitializeComponent(); }
public FormSistemYonetim() { var container = DependecyResolver.NinjectDependecyContainer.RegisterDependency(new StandardKernel()); _klinikRepository = container.Get <IKlinikRepository>(); _klinikService = container.Get <IKlinikService>(); _kurumRepository = container.Get <IKurumRepository>(); _kurumService = container.Get <IKurumService>(); _unvanRepository = container.Get <IUnvanRepository>(); _unvanService = container.Get <IUnvanService>(); _hizmetRepository = container.Get <IHizmetRepository>(); _hizmetService = container.Get <IHizmetService>(); InitializeComponent(); }
public FormRandevuIslemleri() { #region NinjectAtamalar var container = DependecyResolver.NinjectDependecyContainer.RegisterDependency(new StandardKernel()); _hastaRepository = container.Get <IHastaRepository>(); _hastaService = container.Get <IHastaService>(); _ilceRepository = container.Get <IIlceRepository>(); _ilRepository = container.Get <IILRepository>(); _kurumRepository = container.Get <IKurumRepository>(); _personelService = container.Get <IPersonelService>(); _klinikRepository = container.Get <IKlinikRepository>(); _randevuService = container.Get <IRandevuService>(); _personelRepository = container.Get <IPersonelRepository>(); #endregion InitializeComponent(); }
public KurumService(IKurumRepository repo) { _repo = repo; }