static void Main(string[] args) { IKernel kernel = new StandardKernel(new NinjectBox()); IMusteriDal dal = kernel.Get <IMusteriDal>(); dal.Kaydet(); }
public MusteriManager(IMusteriDal x) { dal = x; }
public MusteriManager() { dal = InstanceFactory.Get <IMusteriDal>(); validator = new MusteriValidator(); }
public MusteriManager(IMusteriDal dal) : base(dal) { }
public MusteriManager(IMusteriDal musteriDal) { _musteriDal = musteriDal; }