generated from Game-as-a-Service/Gaas-repo-template
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: 將 IGameExistenceInquiry 中的方法改為非同步並更新對應實作
- Loading branch information
Showing
3 changed files
with
14 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 9 additions & 1 deletion
10
...ApplicationLayer.Application/MonopolyUsecases/Queries/Interfaces/IGameExistenceInquiry.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,14 @@ | ||
namespace Monopoly.ApplicationLayer.Application.MonopolyUsecases.Queries.Interfaces; | ||
|
||
/// <summary> | ||
/// 用來確認遊戲是否存在的查詢介面 | ||
/// </summary> | ||
public interface IGameExistenceInquiry | ||
{ | ||
bool CheckGameExistence(string gameId); | ||
/// <summary> | ||
/// 確認遊戲是否存在 | ||
/// </summary> | ||
/// <param name="gameId">遊戲 Id</param> | ||
/// <returns>當遊戲存在則回傳 true</returns> | ||
Task<bool> CheckGameExistenceAsync(string gameId); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters