ready for database
This commit is contained in:
14
Apollon.Domain/Commands/ICreateTournamentCommand.cs
Normal file
14
Apollon.Domain/Commands/ICreateTournamentCommand.cs
Normal file
@@ -0,0 +1,14 @@
|
||||
using Apollon.Domain.Models;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Apollon.Domain.Commands
|
||||
{
|
||||
public interface ICreateTournamentCommand
|
||||
{
|
||||
Task Execute(Tournament tournament);
|
||||
}
|
||||
}
|
||||
13
Apollon.Domain/Commands/IDeleteTournamentCommand .cs
Normal file
13
Apollon.Domain/Commands/IDeleteTournamentCommand .cs
Normal file
@@ -0,0 +1,13 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Apollon.Domain.Commands
|
||||
{
|
||||
public interface IDeleteTournamentCommand
|
||||
{
|
||||
Task Execute (Guid id);
|
||||
}
|
||||
}
|
||||
14
Apollon.Domain/Commands/IUpdateTournamentCommand .cs
Normal file
14
Apollon.Domain/Commands/IUpdateTournamentCommand .cs
Normal file
@@ -0,0 +1,14 @@
|
||||
using Apollon.Domain.Models;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Apollon.Domain.Commands
|
||||
{
|
||||
public interface IUpdateTournamentCommand
|
||||
{
|
||||
Task Execute(Tournament tournament);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user