public DataSeeder(FFDbContext _ctx) { playerSvc = new PlayerService(_ctx); clubSvc = new ClubService(_ctx); teamSvc = new TeamService(_ctx); userSvc = new UserService(_ctx); teamPlayerSvc = new TeamPlayerService(_ctx); playerSvc.Initialize(); }
public TeamService(FFDbContext _ctx) { ctx = _ctx; }
public TeamService() { ctx = FFDbContextFactory.CreateCtx(); }
public ClubService(FFDbContext _ctx) { ctx = _ctx; }
public PlayerService(FFDbContext _ctx) { ctx = _ctx; }
public PlayerService() { ctx = FFDbContextFactory.CreateCtx(); }
public UserService(FFDbContext _ctx) { ctx = _ctx; }
public FixtureService(FFDbContext _ctx) { ctx = _ctx; }
public FixtureService() { ctx = FFDbContextFactory.CreateCtx(); }