feat: moved to C# thanks to deepseek
This commit is contained in:
1 parent
ab81a1c4be
commit
29ed46aa7f
34 files changed
+1583
-14
No files matched your search
@@ -0,0 +1,14 @@
|
||||
using Phenix.Models;
|
||||
|
||||
namespace Phenix.Services;
|
||||
|
||||
public interface IGameService
|
||||
{
|
||||
Task Init();
|
||||
Task<List<Game>> GetAllGames();
|
||||
Task<Game?> GetGameById(string id);
|
||||
Task<(Game? Game, string Error)> CreateNewGame(string date, string time, string home, string away);
|
||||
Task<bool> UpdateGame(string id, int? homeScore, int? awayScore, bool? rain, bool? practice);
|
||||
Task<bool> DeleteGameById(string id);
|
||||
Task<bool> SwitchVisitors(string id);
|
||||
}
|
||||
Reference in new issue
Block a user