diff --git a/Apollon.EntityFramework/Commands/CreateTournamentCommand.cs b/Apollon.EntityFramework/Commands/CreateTournamentCommand.cs index eb2445f..d139171 100644 --- a/Apollon.EntityFramework/Commands/CreateTournamentCommand.cs +++ b/Apollon.EntityFramework/Commands/CreateTournamentCommand.cs @@ -20,9 +20,7 @@ namespace Apollon.EntityFramework.Commands } public async Task Execute(Tournament tournament) - { - throw new Exception(); - + { using (TournamentsDbContext context = _contextFactory.Create()) { TournamentDto tournamentDto = new TournamentDto() diff --git a/Apollon.WPF/Apollon.WPF.csproj b/Apollon.WPF/Apollon.WPF.csproj index 06af9ed..444d77c 100644 --- a/Apollon.WPF/Apollon.WPF.csproj +++ b/Apollon.WPF/Apollon.WPF.csproj @@ -18,4 +18,8 @@ + + + + diff --git a/Apollon.WPF/Images/Logos/logo_gross_DSB.jpg b/Apollon.WPF/Images/Logos/logo_gross_DSB.jpg new file mode 100644 index 0000000..d44224a Binary files /dev/null and b/Apollon.WPF/Images/Logos/logo_gross_DSB.jpg differ diff --git a/Apollon.WPF/Images/Logos/logo_klein_DSB.jpg b/Apollon.WPF/Images/Logos/logo_klein_DSB.jpg new file mode 100644 index 0000000..209f80e Binary files /dev/null and b/Apollon.WPF/Images/Logos/logo_klein_DSB.jpg differ diff --git a/Apollon.WPF/Views/Components/TournamentDetails.xaml b/Apollon.WPF/Views/Components/TournamentDetails.xaml new file mode 100644 index 0000000..bd25baf --- /dev/null +++ b/Apollon.WPF/Views/Components/TournamentDetails.xaml @@ -0,0 +1,86 @@ + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Apollon.WPF/Views/Components/TournamentDetails.xaml.cs b/Apollon.WPF/Views/Components/TournamentDetails.xaml.cs new file mode 100644 index 0000000..a1eddf8 --- /dev/null +++ b/Apollon.WPF/Views/Components/TournamentDetails.xaml.cs @@ -0,0 +1,28 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using System.Windows; +using System.Windows.Controls; +using System.Windows.Data; +using System.Windows.Documents; +using System.Windows.Input; +using System.Windows.Media; +using System.Windows.Media.Imaging; +using System.Windows.Navigation; +using System.Windows.Shapes; + +namespace Apollon.WPF.Views.Components +{ + /// + /// Interaction logic for TournamentDetails.xaml + /// + public partial class TournamentDetails : UserControl + { + public TournamentDetails() + { + InitializeComponent(); + } + } +} diff --git a/Apollon.WPF/Views/Layout.xaml b/Apollon.WPF/Views/Layout.xaml index 96cbce9..09fa902 100644 --- a/Apollon.WPF/Views/Layout.xaml +++ b/Apollon.WPF/Views/Layout.xaml @@ -7,8 +7,7 @@ mc:Ignorable="d" d:DesignHeight="450" d:DesignWidth="800"> - diff --git a/Apollon.WPF/Views/NavBarView.xaml b/Apollon.WPF/Views/NavBarView.xaml index 4356293..da29c0d 100644 --- a/Apollon.WPF/Views/NavBarView.xaml +++ b/Apollon.WPF/Views/NavBarView.xaml @@ -4,11 +4,43 @@ xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:local="clr-namespace:Apollon.WPF.Views" + xmlns:components="clr-namespace:Apollon.WPF.Views.Components" + xmlns:iconPacks="http://metro.mahapps.com/winfx/xaml/iconpacks" mc:Ignorable="d" d:DesignHeight="450" d:DesignWidth="800"> - - + + + + + + + + + + + + + + +