public UnitOfWork(DtsContext context) { _context = context; Drones = new DroneRepository(_context); NavigationPoints = new NavigationRepository(_context); Scales = new ScaleRepository(_context); Street = new StreetRepository(_context); Statistics = new StatisticsRepository(_context); }
public ScaleService() { _scaleRepository = new ScaleRepository(); }