Before implementing save to textfiles
This commit is contained in:
@ -12,6 +12,8 @@ namespace TrackerLibrary.DataAccess
|
||||
private const string PrizesFile = "PrizeModels.csv";
|
||||
private const string PeopleFile = "PersonModels.csv";
|
||||
private const string TeamFile = "TeamModels.csv";
|
||||
private const string TournamentFile = "TournamentModels.csv";
|
||||
|
||||
|
||||
public PersonModel CreatePerson(PersonModel model)
|
||||
{
|
||||
@ -98,5 +100,10 @@ namespace TrackerLibrary.DataAccess
|
||||
{
|
||||
return TeamFile.FullFilePath().LoadFile().ConvertToTeamModels(PeopleFile);
|
||||
}
|
||||
public TournamentModel CreateTournament(TournamentModel model)
|
||||
{
|
||||
List<TournamentModel> tournaments = TournamentFile.FullFilePath().LoadFile().ConvertToTournamentModels();
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user