using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Yi.Framework.Common.Attribute; using Yi.Framework.Interface.Base; using Yi.Framework.Repository; namespace Yi.Framework.Service.Base { [AppService] public class BaseService : IBaseService where T : class, new() { public IRepository _repository { get; set; } public BaseService(IRepository iRepository) { _repository = iRepository; } } }