2023-02-17 18:29:20 +01:00
|
|
|
|
using System.Collections.Immutable;
|
|
|
|
|
using WebUI.Common.Models;
|
|
|
|
|
|
|
|
|
|
namespace WebUI.Services;
|
|
|
|
|
|
|
|
|
|
public interface IDataService
|
|
|
|
|
{
|
|
|
|
|
public Task InitializeAsync();
|
|
|
|
|
|
2023-02-21 19:55:32 +01:00
|
|
|
|
public IReadOnlyList<Avatar> GetAvatarsSortedById();
|
2023-02-17 18:29:20 +01:00
|
|
|
|
|
2023-02-21 19:55:32 +01:00
|
|
|
|
public IReadOnlyList<Navigator> GetNavigatorsSortedById();
|
2023-02-17 18:29:20 +01:00
|
|
|
|
|
2023-02-21 19:55:32 +01:00
|
|
|
|
public IReadOnlyList<Title> GetTitlesSortedById();
|
|
|
|
|
|
|
|
|
|
public Avatar? GetAvatarById(uint id);
|
|
|
|
|
|
|
|
|
|
public Title? GetTitleById(uint id);
|
|
|
|
|
|
|
|
|
|
public Navigator? GetNavigatorById(uint id);
|
2023-02-17 18:29:20 +01:00
|
|
|
|
}
|