예제 #1
0
        public FormTahlilYazdir(HastaKabul secilenHasta, string cbTahlillerSelectedValue)
        {
            var container = DependecyResolver.NinjectDependecyContainer.RegisterDependency(new StandardKernel());

            _hastaTahlilSonuclariRepository = container.Get <IHastaTahlilSonuclariRepository>();
            _secilenHasta             = secilenHasta;
            _cbTahlillerSelectedValue = cbTahlillerSelectedValue;
            InitializeComponent();
        }
        public FormTahlilIslemleri()
        {
            var container = DependecyResolver.NinjectDependecyContainer.RegisterDependency(new StandardKernel());

            _tahlilService                  = container.Get <ITahlilService>();
            _tahlilRepository               = container.Get <ITahlilRepository>();
            _tahlilIcerikRepository         = container.Get <ITahlilIcerikRepository>();
            _tahlilIcerikService            = container.Get <ITahlilIcerikService>();
            _hastaKabulService              = container.Get <IHastaKabulService>();
            _hastaTahlilSonuclariRepository = container.Get <IHastaTahlilSonuclariRepository>();
            InitializeComponent();
        }
 public HastaTahlilSonuclariService(IHastaTahlilSonuclariRepository hastaTahlilSonuclariRepository)
 {
     _hastaTahlilSonuclariRepository = hastaTahlilSonuclariRepository;
 }