Files
Apollon/Apollon.WPF/ViewModels/OverviewListingItemViewModel.cs
2022-08-17 18:29:51 +02:00

25 lines
649 B
C#

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 string Location => Tournament.Location;
public ICommand DeleteCommand { get; }
public OverviewListingItemViewModel(Tournament tournament)
{
Tournament = tournament;
}
}
}