public ResultService(PowerLinesContext context, IResultReader resultReader, IRatingService ratingService, IBulkInsert <Result> bulkInsert) { db = context; this.resultReader = resultReader; this.ratingService = ratingService; this.bulkInsert = bulkInsert; }
public static void Update() { using (var db = new PowerLinesContext()) { var fixtureService = new FixtureService(db, new FixtureReader()); fixtureService.Upload(); } }
public static void Update() { using (var db = new PowerLinesContext()) { var resultService = new ResultService(db, new ResultReader(), new RatingService(db, new SqlBulkInsert <Dataset>(db)), new SqlBulkInsert <Result>(db)); resultService.Upload(true); } }
public RatingService(PowerLinesContext context, IBulkInsert <Dataset> bulkInsert) { db = context; this.bulkInsert = bulkInsert; }
public SqlBulkInsert(PowerLinesContext context) { db = context; connStr = ConfigurationManager.ConnectionStrings["PowerLinesContext"].ConnectionString; }
public AccountController(ApplicationUserManager userManager, ApplicationSignInManager signInManager) { UserManager = userManager; SignInManager = signInManager; this.db = new PowerLinesContext(); }
public AccountController() { this.db = new PowerLinesContext(); }
public UploadController() { db = new PowerLinesContext(); resultService = new ResultService(db, new ResultReader(), new RatingService(db, new SqlBulkInsert <Dataset>(db)), new SqlBulkInsert <Result>(db)); fixtureService = new FixtureService(db, new FixtureReader()); }
public RatingController() { db = new PowerLinesContext(); ratingService = new RatingService(db, new SqlBulkInsert <Dataset>(db)); }
public BankController(PowerLinesContext context) { this.db = context; }
public BankController() { this.db = new PowerLinesContext(); }
public TrackerController(PowerLinesContext context) { this.db = context; }
public TrackerController() { this.db = new PowerLinesContext(); }
public FixtureService(PowerLinesContext context, IFixtureReader fixtureReader) { db = context; this.fixtureReader = new FixtureReader(); }