using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.RazorPages;
using Waste.Application;
using Waste.Domain;
namespace Waste.Web.Entry.Pages.Device
{
///
/// É豸¹ÜÀí
///
public class IndexModel : BaseModel
{
private readonly IBusinessService _businessService;
public Guid emptyBusinessid = Guid.Empty;
public List blist = new List();
public IndexModel(IBusinessService businessService)
{
_businessService = businessService;
}
public async Task OnGet()
{
blist = await _businessService.GetAllList();
}
}
}