implement metaservice v2

This commit is contained in:
RaidMax
2022-03-23 08:43:57 -05:00
parent b46b1eb5e7
commit 04a4dcf153
21 changed files with 919 additions and 120 deletions

View File

@ -13,9 +13,9 @@ namespace WebfrontCore.ViewComponents
{
public class ProfileMetaListViewComponent : ViewComponent
{
private readonly IMetaService _metaService;
private readonly IMetaServiceV2 _metaService;
public ProfileMetaListViewComponent(IMetaService metaService)
public ProfileMetaListViewComponent(IMetaServiceV2 metaService)
{
_metaService = metaService;
}
@ -38,7 +38,7 @@ namespace WebfrontCore.ViewComponents
return View("_List", meta);
}
public static async Task<IEnumerable<IClientMeta>> GetClientMeta(IMetaService metaService, MetaType? metaType,
public static async Task<IEnumerable<IClientMeta>> GetClientMeta(IMetaServiceV2 metaService, MetaType? metaType,
EFClient.Permission level, ClientPaginationRequest request)
{
IEnumerable<IClientMeta> meta = null;