Exemplo n.º 1
0
 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();
 }
Exemplo n.º 4
0
 public ClubService(FFDbContext _ctx)
 {
     ctx = _ctx;
 }
Exemplo n.º 5
0
 public PlayerService(FFDbContext _ctx)
 {
     ctx = _ctx;
 }
Exemplo n.º 6
0
 public PlayerService()
 {
     ctx = FFDbContextFactory.CreateCtx();
 }
Exemplo n.º 7
0
 public UserService(FFDbContext _ctx)
 {
     ctx = _ctx;
 }
 public FixtureService(FFDbContext _ctx)
 {
     ctx = _ctx;
 }
 public FixtureService()
 {
     ctx = FFDbContextFactory.CreateCtx();
 }