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; }
public PlayersService(FootballAssociationDbContext context, IMapper mapper) : base(context, mapper) { }
public Data(FootballAssociationDbContext context) { _context = context; entities = context.Set <T>(); }
public BaseService(FootballAssociationDbContext context, IMapper mapper) { _context = context; _mapper = mapper; }
public ReportGenerator(FootballAssociationDbContext context) { _context = context; }
public BaseCRUDService(FootballAssociationDbContext context, IMapper mapper) : base(context, mapper) { }
public StadiumsService(FootballAssociationDbContext context, IMapper mapper) : base(context, mapper) { }
public RefereesService(FootballAssociationDbContext context, IMapper mapper) : base(context, mapper) { }
public UserService(FootballAssociationDbContext context, IOptions <AppSettings> options) { _context = context; _options = options; }