Exemplo n.º 1
0
 public DataSeeder()
 {
     playerSvc     = new PlayerService(FFDbContextFactory.CreateCtx());
     clubSvc       = new ClubService(FFDbContextFactory.CreateCtx());
     teamSvc       = new TeamService(FFDbContextFactory.CreateCtx());
     userSvc       = new UserService(FFDbContextFactory.CreateCtx());
     teamPlayerSvc = new TeamPlayerService(FFDbContextFactory.CreateCtx());
     playerSvc.Initialize();
 }
 public TeamService()
 {
     ctx = FFDbContextFactory.CreateCtx();
 }
Exemplo n.º 3
0
 public PlayerService()
 {
     ctx = FFDbContextFactory.CreateCtx();
 }
 public FixtureService()
 {
     ctx = FFDbContextFactory.CreateCtx();
 }