using System.Threading.Tasks;
using YBDevice.Application.ViewInfo;

namespace YBDevice.NWeb.Pages.Business
{
    /// <summary>
    /// ¿Í»§ÁÐ±í
    /// </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();
        }

    }
}
