public DataAccessLayer() { _workerLogic = new WorkerBL(); _truckLogic = new TruckBL(); _driveLogic = new DriveBL(); _userLogic = new UserBL(); _notificationLogic = new NotificationBL(); _fuelLogic = new FuelBL(); _brandLogic = new BrandsBL(); }
// GET: api/Workers public async Task <IEnumerable <Worker> > Get() { WorkerBL workers = new WorkerBL(); //TODO!: Unity Container -> web.config / resolve return(await workers.GetData()); }