Create Prize and create Team ready
This commit is contained in:
@ -9,7 +9,7 @@ using TrackerLibrary.Models;
|
||||
|
||||
namespace TrackerWPFUI.ViewModels
|
||||
{
|
||||
public class ShellViewModel : Conductor<object>
|
||||
public class ShellViewModel : Conductor<object> //ActiveItem in Itemcontrol tells whats going on
|
||||
{
|
||||
|
||||
public ShellViewModel()
|
||||
@ -17,6 +17,8 @@ namespace TrackerWPFUI.ViewModels
|
||||
// Initialize the database connections
|
||||
GlobalConfig.InitializeConnections(DatabaseType.Sql);
|
||||
_existingTournaments = new BindableCollection<TournamentModel>(GlobalConfig.Connection.GetTournament_All());
|
||||
//ActivateItem(new CreatePrizeViewModel());
|
||||
ActivateItem(new CreateTeamViewModel());
|
||||
}
|
||||
public void CreateTournament()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user