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 System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace Admin.Core.Service { public class PerfusionRecordServices : BaseServices<Perfusion_Record>, IPerfusionRecordServices { private static readonly log4net.ILog logHelper = LogManager.GetLogger(typeof(PerfusionRecordServices)); private readonly IBaseRepository<Perfusion_Record> _dal; private readonly IPerfusionRecordRepository _perfusionRecordRepository; public PerfusionRecordServices(IBaseRepository<Perfusion_Record> dal, IPerfusionRecordRepository perfusionRecordRepository) { this._dal = dal; base.BaseDal = dal; _perfusionRecordRepository = perfusionRecordRepository; } public Task<List<QualityView>> GetPerfusionRecord(int objId) { return _perfusionRecordRepository.GetPerfusionRecord(objId); } } }