You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

24 lines
770 B
C#

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