using Admin.Core.IRepository; using Admin.Core.IService; using Admin.Core.Model; using System.Threading.Tasks; namespace Admin.Core.Service { public class RealTaskInfoServices : BaseServices, IRealTaskInfoServices { private readonly IBaseRepository _dal; private readonly IRealTaskInfoRepository _realTaskInfoRepository; public RealTaskInfoServices(IBaseRepository dal, IRealTaskInfoRepository realTaskInfoRepository) { this._dal = dal; base.BaseDal = dal; _realTaskInfoRepository= realTaskInfoRepository; } public Task FirstAsync() { return _realTaskInfoRepository.FirstAsync(); } } }