public SimulationServiceTests()
 {
     fakeCosmosDBService  = new FakeCosmosDBService();
     fakePlayFabService   = new FakePlayFabService();
     fantasySoccerService = new FantasySoccerService(fakeCosmosDBService.stub.Object, fakePlayFabService.stub.Object);
     simulationService    = new SimulationService(fantasySoccerService);
 }
 public AdminController(IFantasySoccerService fantasySoccerService, ISimulationService simulationService)
 {
     this.fantasySoccerService = fantasySoccerService;
     this.simulationService    = simulationService;
     serializerOptions         = new JsonSerializerOptions
     {
         WriteIndented = true,
         Encoder       = JavaScriptEncoder.UnsafeRelaxedJsonEscaping
     };
 }
 public UserController(IFantasySoccerService fantasySoccerService)
 {
     this.fantasySoccerService = fantasySoccerService;
 }
 public SimulationService(IFantasySoccerService fantasySoccerService)
 {
     this.fantasySoccerService = fantasySoccerService;
 }
 public UserTeamManagementController(IFantasySoccerService fantasySoccerService)
 {
     this.fantasySoccerService = fantasySoccerService;
 }
Example #6
0
 public MarketplaceController(IFantasySoccerService fantasySoccerService)
 {
     this.fantasySoccerService = fantasySoccerService;
 }