MeiRiYiCheng_1_old/YBDevice.NWeb/Pages/Business/Index.cshtml.cs

24 lines
590 B
C#
Raw Normal View History

2025-07-16 17:14:38 +08:00
using System.Threading.Tasks;
using YBDevice.Application.ViewInfo;
namespace YBDevice.NWeb.Pages.Business
{
/// <summary>
/// <20>ͻ<EFBFBD><CDBB>б<EFBFBD>
/// </summary>
public class IndexModel : BaseModel
{
private IViewEngineService _viewEngineService;
public ViewS2SDto viewdata = new ViewS2SDto();
public IndexModel(IViewEngineService viewEngineService)
{
_viewEngineService = viewEngineService;
}
public async Task OnGetAsync()
{
viewdata = await _viewEngineService.GetBtnListAsync();
}
}
}