Skip to content

Commit

Permalink
Added ASP.NET MVC 4 web application.
Browse files Browse the repository at this point in the history
  • Loading branch information
hpinsley committed Jan 6, 2013
1 parent 7f971f0 commit 2dd6c5b
Show file tree
Hide file tree
Showing 198 changed files with 122,442 additions and 3 deletions.
2 changes: 1 addition & 1 deletion NFLRanking/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ class Program {
static void Main() {
ITeamManager teamManager = new TeamManager();
IGameManager gameManager = new GameManager(teamManager);
ResultsParser parser = new ResultsParser(gameManager);
IResultsParser parser = new ResultsParser(gameManager);

parser.ParseGameResults(NFL2012);
Console.WriteLine();
Expand Down
2 changes: 1 addition & 1 deletion ScoreParser.Tests/FileParserTester.cs
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ public class FileParserTester : TestBase {
public void CanGetStats() {
ITeamManager teamManager = new TeamManager();
IGameManager gameManager = new GameManager(teamManager);
IResultsParser parser = new ResultsParser(gameManager);

ResultsParser parser = new ResultsParser(gameManager);
parser.ParseGameResults(NFL2012);

foreach (Team team in teamManager.GetTeams()) {
Expand Down
5 changes: 5 additions & 0 deletions ScoreParser/IResultsParser.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
namespace ScoreParser {
public interface IResultsParser {
void ParseGameResults(string gameResultsFile);
}
}
2 changes: 1 addition & 1 deletion ScoreParser/ResultsParser.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
using System.IO;

namespace ScoreParser {
public class ResultsParser {
public class ResultsParser : IResultsParser {
private IGameManager _gameManager;

public ResultsParser(IGameManager gameManager) {
Expand Down
1 change: 1 addition & 0 deletions ScoreParser/ScoreParser.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@
<Compile Include="GameManager.cs" />
<Compile Include="Grader.cs" />
<Compile Include="IGameManager.cs" />
<Compile Include="IResultsParser.cs" />
<Compile Include="ITeamManager.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
<Compile Include="ResultsParser.cs" />
Expand Down
12 changes: 12 additions & 0 deletions SportsRanking.sln
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ScoreParser", "ScoreParser\
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ScoreParser.Tests", "ScoreParser.Tests\ScoreParser.Tests.csproj", "{ED05C860-FB95-4B0F-B894-F93FE06D2ABF}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "TeamGrade.Web", "TeamGrade.Web\TeamGrade.Web.csproj", "{0E1D1247-E066-48C9-9DCC-9E5AB7A4D3ED}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Expand Down Expand Up @@ -47,6 +49,16 @@ Global
{ED05C860-FB95-4B0F-B894-F93FE06D2ABF}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU
{ED05C860-FB95-4B0F-B894-F93FE06D2ABF}.Release|Mixed Platforms.Build.0 = Release|Any CPU
{ED05C860-FB95-4B0F-B894-F93FE06D2ABF}.Release|x86.ActiveCfg = Release|Any CPU
{0E1D1247-E066-48C9-9DCC-9E5AB7A4D3ED}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{0E1D1247-E066-48C9-9DCC-9E5AB7A4D3ED}.Debug|Any CPU.Build.0 = Debug|Any CPU
{0E1D1247-E066-48C9-9DCC-9E5AB7A4D3ED}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU
{0E1D1247-E066-48C9-9DCC-9E5AB7A4D3ED}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU
{0E1D1247-E066-48C9-9DCC-9E5AB7A4D3ED}.Debug|x86.ActiveCfg = Debug|Any CPU
{0E1D1247-E066-48C9-9DCC-9E5AB7A4D3ED}.Release|Any CPU.ActiveCfg = Release|Any CPU
{0E1D1247-E066-48C9-9DCC-9E5AB7A4D3ED}.Release|Any CPU.Build.0 = Release|Any CPU
{0E1D1247-E066-48C9-9DCC-9E5AB7A4D3ED}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU
{0E1D1247-E066-48C9-9DCC-9E5AB7A4D3ED}.Release|Mixed Platforms.Build.0 = Release|Any CPU
{0E1D1247-E066-48C9-9DCC-9E5AB7A4D3ED}.Release|x86.ActiveCfg = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
Expand Down
Loading

0 comments on commit 2dd6c5b

Please sign in to comment.