protected override TeamModel AddTeam() { EFTeamRepository teams = new EFTeamRepository { CreateContext = GetContext }; var newTeam = new TeamModel { Name="Team1" }; teams.Create(newTeam); return newTeam; }
private TeamModel CreateTeam() { EFTeamRepository teams = new EFTeamRepository { CreateContext = GetContext }; var newTeam = new TeamModel { Name = "Team1" }; teams.Create(newTeam); return newTeam; }