//public CoachService() //{ // this.context = new BookmakerContext(); //} // Constructor /// <summary> /// Initializes a new instance of <c>CoachService</c> with parameter <paramref name="context"/>. /// </summary> /// <param name="context">A BookmakerContext.</param> public CoachService(BookmakerContext context) { this.context = context; }
//public MatchService() //{ // this.context = new BookmakerContext(); //} // Constructor /// <summary> /// Initializes a new instance of <c>MatchService</c> with parameter <paramref name="context"/>. /// </summary> /// <param name="context">A BookmakerContext.</param> public MatchService(BookmakerContext context) { this.context = context; this.resultService = new ResultService(context); }
//public InjuryService() //{ // this.context = new BookmakerContext(); //} // Constructor /// <summary> /// Initializes a new instance of <c>InjuryService</c> with parameter <paramref name="context"/>. /// </summary> /// <param name="context">A BookmakerContext.</param> public InjuryService(BookmakerContext context) { this.context = context; }
//public TeamService() //{ // this.context = new BookmakerContext(); // this.playerService = new PlayerService(context); // this.coachService = new CoachService(context); //} // Constructor /// <summary> /// Initializes a new instance of <c>TeamService</c> with parameter <paramref name="context"/>. /// </summary> /// <param name="context">A BookmakerContext.</param> public TeamService(BookmakerContext context) { this.context = context; this.playerService = new PlayerService(context); this.coachService = new CoachService(context); }
//public PlayerService() //{ // this.context = new BookmakerContext(); // this.injuryService = new InjuryService(); //} // Constructor /// <summary> /// Initializes a new instance of <c>PlayerService</c> with parameter <paramref name="context"/>. /// </summary> /// <param name="context">A BookmakerContext.</param> public PlayerService(BookmakerContext context) { this.context = context; this.injuryService = new InjuryService(context); }
// Constructor /// <summary> /// Initializes a new instance of <c>ResultService</c> with parameter <paramref name="context"/>. /// </summary> /// <param name="context">A BookmakerContext.</param> public ResultService(BookmakerContext context) { this.context = context; }