public static void Update() { using (var db = new PowerLinesContext()) { var fixtureService = new FixtureService(db, new FixtureReader()); fixtureService.Upload(); } }