using Infrastructure.Data;
using IoT.Shared.Application.Domain.Entities;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Logging;
using System;
namespace Platform.Areas.IoTCenter.Controllers
{
[Area("IoTCenter")]
public class AjaxController : IoT.Shared.Areas.IoTCenter.Controlls.AjaxBaseController
{
private readonly IRepository _areaRepo;
private readonly IRepository _buildingRepo;
private readonly IRepository _roleRepo;
public AjaxController(IServiceProvider services,
ILogger logger,
IHttpContextAccessor httpContxt,
IRepository categoryRepo,
IRepository productRepo,
IRepository organRepo,
IRepository buildingIoTGatewayRepo,
IRepository organSceneRepo,
IRepository nodeRepo,
IRepository sceneRepo,
IRepository commandRepo,
IRepository deviceRepo,
IRepository dataRepo,
IRepository apiRepo,
IRepository sceneTiggerRepo,
IRepository areaRepo,
IRepository buildingRepo,
IRepository roleRepo)
: base(services,
logger,
httpContxt,
categoryRepo,
productRepo,
organRepo,
buildingIoTGatewayRepo,
organSceneRepo,
nodeRepo,
sceneRepo,
commandRepo,
deviceRepo,
dataRepo,
apiRepo,
sceneTiggerRepo)
{
this._areaRepo = areaRepo;
this._buildingRepo = buildingRepo;
this._roleRepo = roleRepo;
}
}
}