Exemplo n.º 1
0
        public FormOdaIslemleri()
        {
            var container = NinjectDependencyContainer.RegisterDependency(new StandardKernel());

            _unitOfWork = container.Get <IUnitOfWork>();
            _odaService = container.Get <IOdaService>();
            InitializeComponent();
        }
Exemplo n.º 2
0
 public RezervasyonController(IRezervasyonService rezervasyonService, IOdaService odaService)
 {
     _odaService         = odaService;
     _rezervasyonService = rezervasyonService;
 }