using Admin.Core.IRepository; using Admin.Core.IService; using Admin.Core.Model; using Admin.Core.Model.Model_New; using Admin.Core.Model.ViewModels; using log4net; using Microsoft.AspNetCore.Razor.TagHelpers; using Microsoft.IdentityModel.Logging; using NPOI.XSSF.UserModel; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace Admin.Core.Service { public class TemperatureHistoryServices : BaseServices, ITemperatureHistoryServices { private static readonly log4net.ILog logHelper = LogManager.GetLogger(typeof(TemperatureHistoryServices)); private readonly IBaseRepository _dal; private readonly ITemperatureHistoryRepository _temperatureHistoryRepository; public TemperatureHistoryServices(IBaseRepository dal, ITemperatureHistoryRepository temperatureHistoryRepository) { this._dal = dal; base.BaseDal = dal; _temperatureHistoryRepository = temperatureHistoryRepository; } public Task> GetAllIsFlag(int objId) { return _temperatureHistoryRepository.GetAllIsFlag(objId); } } }