You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

20 lines
591 B

using Microsoft.AspNetCore.Mvc;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace APP.ViewComponents
{
public class FooterViewComponent : ViewComponent
{
public async Task<IViewComponentResult> InvokeAsync()
{
App.Helper.ParameterHelper ph = new App.Helper.ParameterHelper();
ViewBag.copyright = ph.GetParameter("CopyRight");
ViewBag.version = ph.GetParameter("Version");
return await Task.FromResult((IViewComponentResult)View("Footer"));
}
}
}