Přidání nového projektu - pokus o explorer
This commit is contained in:
1 parent
b0b0b3ee34
commit
d06a9f332b
48 files changed
+1429
No files matched your search
@@ -0,0 +1,12 @@
|
||||
using System.Threading.Tasks;
|
||||
using winui_learning_2.Models;
|
||||
|
||||
namespace winui_learning_2.Services;
|
||||
|
||||
public class NodplayAdminService
|
||||
{
|
||||
private readonly NodplayApiClient _apiClient = new();
|
||||
|
||||
public Task<DashBoardViewModel?> GetDashboardAsync(int page = 1) =>
|
||||
_apiClient.GetAsync<DashBoardViewModel>($"{ApiConstants.AdminDashboardPath}?page={page}");
|
||||
}
|
||||
Reference in new issue
Block a user