public MatchesController(ICRUDService <Models.Matches, object, Models.Matches, Models.Matches> service,
                          IData <MatchDetails> serviceMatchDetail, IData <RefereeMatches> serviceRefereeMatch,
                          IData <Seasons> serviceSeason, IData <Matches> serviceMatch,
                          IData <Clubs> serviceClub, IData <ClubsLeague> serviceClubLeague, FootballAssociationDbContext context) : base(service)
 {
     _serviceMatchDetail  = serviceMatchDetail;
     _serviceRefereeMatch = serviceRefereeMatch;
     _serviceMatch        = serviceMatch;
     _serviceSeason       = serviceSeason;
     _serviceClub         = serviceClub;
     _serviceClubLeague   = serviceClubLeague;
     _dbContext           = context;
 }
Exemplo n.º 2
0
 public PlayersService(FootballAssociationDbContext context, IMapper mapper) : base(context, mapper)
 {
 }
Exemplo n.º 3
0
 public Data(FootballAssociationDbContext context)
 {
     _context = context;
     entities = context.Set <T>();
 }
 public BaseService(FootballAssociationDbContext context, IMapper mapper)
 {
     _context = context;
     _mapper  = mapper;
 }
Exemplo n.º 5
0
 public ReportGenerator(FootballAssociationDbContext context)
 {
     _context = context;
 }
 public BaseCRUDService(FootballAssociationDbContext context, IMapper mapper) : base(context, mapper)
 {
 }
Exemplo n.º 7
0
 public StadiumsService(FootballAssociationDbContext context, IMapper mapper) : base(context, mapper)
 {
 }
Exemplo n.º 8
0
 public RefereesService(FootballAssociationDbContext context, IMapper mapper) : base(context, mapper)
 {
 }
Exemplo n.º 9
0
 public UserService(FootballAssociationDbContext context, IOptions <AppSettings> options)
 {
     _context = context;
     _options = options;
 }