/// <summary> /// Adds a <see cref="TeamSeason"/> entity to the data store. /// </summary> /// <param name="teamSeason">The <see cref="TeamSeason"/> entity to add.</param> /// <returns>The added <see cref="TeamSeason"/> entity.</returns> public async Task <TeamSeason> AddAsync(TeamSeason teamSeason) { await _dbContext.AddAsync(teamSeason); return(teamSeason); }
/// <summary> /// Adds a <see cref="Team"/> entity to the data store. /// </summary> /// <param name="team">The <see cref="Team"/> entity to add.</param> /// <returns>The added <see cref="Team"/> entity.</returns> public async Task <Team> AddAsync(Team team) { await _dbContext.AddAsync(team); return(team); }
/// <summary> /// Adds a <see cref="Conference"/> entity to the data store. /// </summary> /// <param name="conference">The <see cref="Conference"/> entity to add.</param> /// <returns>The added <see cref="Conference"/> entity.</returns> public async Task <Conference> AddAsync(Conference conference) { await _dbContext.AddAsync(conference); return(conference); }
/// <summary> /// Adds a <see cref="Division"/> entity to the data store. /// </summary> /// <param name="division">The <see cref="Division"/> entity to add.</param> /// <returns>The added <see cref="Division"/> entity.</returns> public async Task <Division> AddAsync(Division division) { await _dbContext.AddAsync(division); return(division); }
/// <summary> /// Adds a <see cref="Game"/> entity to the data store asynchrously. /// </summary> /// <param name="game">The <see cref="Game"/> entity to add.</param> /// <returns>The added <see cref="Game"/> entity.</returns> public async Task <Game> AddAsync(Game game) { await _dbContext.AddAsync(game); return(game); }
/// <summary> /// Adds a <see cref="LeagueSeason"/> entity to the data store. /// </summary> /// <param name="leagueSeason">The <see cref="LeagueSeason"/> entity to add.</param> /// <returns>The added <see cref="LeagueSeason"/> entity.</returns> public async Task <LeagueSeason> AddAsync(LeagueSeason leagueSeason) { await _dbContext.AddAsync(leagueSeason); return(leagueSeason); }
/// <summary> /// Adds a <see cref="League"/> entity to the data store. /// </summary> /// <param name="league">The <see cref="League"/> entity to add.</param> /// <returns>The added <see cref="League"/> entity.</returns> public async Task <League> AddAsync(League league) { await _dbContext.AddAsync(league); return(league); }
/// <summary> /// Adds a <see cref="Season"/> entity to the data store. /// </summary> /// <param name="season">The <see cref="Season"/> entity to add.</param> /// <returns>The added <see cref="Season"/> entity.</returns> public async Task <Season> AddAsync(Season season) { await _dbContext.AddAsync(season); return(season); }