7b8126d57e
start moving profile info out of javascript into componentview rework meta data to include count and offset
16 lines
455 B
C#
16 lines
455 B
C#
using Microsoft.AspNetCore.Mvc;
|
|
using SharedLibraryCore.Services;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace WebfrontCore.ViewComponents
|
|
{
|
|
public class ProfileMetaListViewComponent : ViewComponent
|
|
{
|
|
public async Task<IViewComponentResult> InvokeAsync(int clientId, int count, int offset)
|
|
{
|
|
var meta = await MetaService.GetRuntimeMeta(clientId, offset, count);
|
|
return View("_List", meta);
|
|
}
|
|
}
|
|
}
|