23 lines
597 B
C#
23 lines
597 B
C#
|
|
using System.Threading.Tasks;
|
|||
|
|
using YBDevice.Application.ViewInfo;
|
|||
|
|
|
|||
|
|
namespace YBDevice.NWeb.Pages.Code
|
|||
|
|
{
|
|||
|
|
/// <summary>
|
|||
|
|
/// С<><D0A1><EFBFBD><EFBFBD>ģ<EFBFBD><C4A3><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
|
/// </summary>
|
|||
|
|
public class TemplateModel : BaseModel
|
|||
|
|
{
|
|||
|
|
private IViewEngineService _viewEngineService;
|
|||
|
|
public ViewS2SDto viewdata = new ViewS2SDto();
|
|||
|
|
public TemplateModel(IViewEngineService viewEngineService)
|
|||
|
|
{
|
|||
|
|
_viewEngineService = viewEngineService;
|
|||
|
|
}
|
|||
|
|
public async Task OnGetAsync()
|
|||
|
|
{
|
|||
|
|
viewdata = await _viewEngineService.GetBtnListAsync();
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
}
|