24 lines
590 B
C#
24 lines
590 B
C#
|
|
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();
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
}
|
|||
|
|
}
|