public FormDoktorIslemleri() { var container = DependecyResolver.NinjectDependecyContainer.RegisterDependency(new StandardKernel()); _hastaKabulRepository = container.Get <IHastaKabulRepository>(); _hastaKabulService = container.Get <IHastaKabulService>(); _hastaSikayetleriService = container.Get <IHastaSikayetleriService>(); InitializeComponent(); }
public FormDoktorIslemleri() { var container = NinjectDependecyContainer.RegisterDependency(new StandardKernel()); _hastaKabulRepository = container.Get <IHastaKabulRepository>(); _hastaKabulService = container.Get <IHastaKabulService>(); _hastaSikayetleriService = container.Get <IHastaSikayetleriService>(); _teshisService = container.Get <ITeshisService>(); _receteService = container.Get <IReceteService>(); _receteDetayService = container.Get <IReceteDetayService>(); _receteDetayRepository = container.Get <IReceteDetayRepository>(); _hizmetService = container.Get <IHizmetService>(); _hastaHizmetHareketService = container.Get <IHastaHizmetHareketService>(); _hastaHizmetHareketRepository = container.Get <IHastaHizmetHareketRepository>(); _hastaTahlilSonuclariService = container.Get <IHastaTahlilSonuclariService>(); InitializeComponent(); }
public HastaKabulService(IHastaKabulRepository hastaKabulRepository) { _hastaKabulRepository = hastaKabulRepository; }