示例#1
0
        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);
        }
示例#2
0
 public CalisanController(ICalisanDal calisan)
 {
     _calisanDal = calisan;
 }
示例#3
0
 public OturumManager(ICalisanDal calisanDal)
 {
     _calisanDal = calisanDal;
 }
 public CalisanManager(IMapperService mapperService, ICalisanDal calisanDal, ICalisanKategoriDal calisanKategoriDal)
 {
     _mapperService      = mapperService;
     _calisanDal         = calisanDal;
     _calisanKategoriDal = calisanKategoriDal;
 }
示例#5
0
 public CalisanManager(ICalisanDal calisanDal)
 {
     _calisanDal = calisanDal;
 }