using HybirdFrameworkCore.Autofac.Attribute; using Entity.DbModel; using Repository.System; using Repository.UnitOfWork; namespace Service.System { [Scope("SingleInstance")] public class SysUserServices : BaseServices { private readonly SysUserRepository _dal; private readonly UnitOfWork _unitOfWork; public SysUserServices(UnitOfWork unitOfWork, SysUserRepository dal) { this._dal = dal; base.BaseDal = dal; _unitOfWork = unitOfWork; } } }