Modal Prototyp
This commit is contained in:
23
Apollon.WPF/ViewModels/OverviewListingItemViewModel.cs
Normal file
23
Apollon.WPF/ViewModels/OverviewListingItemViewModel.cs
Normal file
@@ -0,0 +1,23 @@
|
||||
using Apollon.WPF.Models;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using System.Windows.Input;
|
||||
|
||||
namespace Apollon.WPF.ViewModels
|
||||
{
|
||||
public class OverviewListingItemViewModel : ViewModelBase
|
||||
{
|
||||
public Tournament Tournament { get;}
|
||||
|
||||
public string Tournamentname => Tournament.Tournamentname;
|
||||
public ICommand DeleteCommand { get; }
|
||||
|
||||
public OverviewListingItemViewModel(Tournament tournament)
|
||||
{
|
||||
Tournament = tournament;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user