AddTournament To list by add

This commit is contained in:
Natlinux81
2022-08-16 03:52:02 +02:00
parent cc060b273a
commit 4531f31658
7 changed files with 90 additions and 18 deletions

View File

@@ -0,0 +1,19 @@
using Apollon.WPF.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Apollon.WPF.Stores
{
public class TournamentStore
{
public event Action<Tournament> TournamentAdded;
public async Task Add(Tournament tournament)
{
TournamentAdded?.Invoke(tournament);
}
}
}