Exemple #1
0
 public DeleteModel(
     IPredictionData predictionData,
     ApplicationDbContext context,
     IAuthorizationService authorizationService,
     UserManager <ApplicationUser> userManager) : base(context, authorizationService, userManager)
 {
     _predictionData = predictionData;
 }
Exemple #2
0
 public EditModel(IPredictionData PredictionData,
                  IPredictionConverter predictionConverter,
                  ApplicationDbContext context,
                  IAuthorizationService authorizationService,
                  UserManager <ApplicationUser> userManager) : base(context, authorizationService, userManager)
 {
     _predictionData      = PredictionData;
     _predictionConverter = predictionConverter;
 }
Exemple #3
0
 public ScoreboardModel(IPredictionData predictionData, IUserData userData, ApplicationDbContext context,
                        IAuthorizationService authorizationService, IScoreCalculator scoreCalculator,
                        IGameConverter gameConverter,
                        UserManager <ApplicationUser> userManager)
     : base(context, authorizationService, userManager)
 {
     _predictionData  = predictionData;
     _userData        = userData;
     _scoreCalculator = scoreCalculator;
     _gameConverter   = gameConverter;
 }
Exemple #4
0
 public MyPredictionsModel(IPredictionData predictionData, IPredictionConverter predictionConverter,
                           IGameData gameData, IUserData userData,
                           ApplicationDbContext context,
                           IAuthorizationService authorizationService,
                           UserManager <ApplicationUser> userManager,
                           ILogger <MyPredictionsModel> logger)
     : base(context, authorizationService, userManager)
 {
     _predictionData      = predictionData;
     _gameData            = gameData;
     _userData            = userData;
     _logger              = logger;
     _predictionConverter = predictionConverter;
 }
Exemple #5
0
 public IndexModel(IPredictionData predictionData)
 {
     _predictionData = predictionData;
 }
Exemple #6
0
 public IndexModel(IPredictionData predictiondata, IPredictionConverter converter)
 {
     _predictiondata = predictiondata;
     _converter      = converter;
 }
Exemple #7
0
 public DetailsModel(IPredictionData PredictionData, IPredictionConverter converter)
 {
     _predictionData = PredictionData;
     _converter      = converter;
 }