public UnitOfWork() { _context = new ProjectContext(); _calisanDal = new EfCalisanDal(_context); _calisanKategoriDal = new EfCalisanKategoriDal(_context); _mapperService = new AutoMapperManager(); _calisanService = new CalisanManager(_mapperService, _calisanDal, _calisanKategoriDal); _oturumService = new OturumManager(_calisanDal); }
public CalisanController(ICalisanDal calisan) { _calisanDal = calisan; }
public OturumManager(ICalisanDal calisanDal) { _calisanDal = calisanDal; }
public CalisanManager(IMapperService mapperService, ICalisanDal calisanDal, ICalisanKategoriDal calisanKategoriDal) { _mapperService = mapperService; _calisanDal = calisanDal; _calisanKategoriDal = calisanKategoriDal; }
public CalisanManager(ICalisanDal calisanDal) { _calisanDal = calisanDal; }