using System; using Volo.Abp.DependencyInjection; using Volo.Abp.Domain.Services; using Volo.Abp.SettingManagement; using Win_in.Sfs.Wms.Job.Domain.Shared; namespace Win_in.Sfs.Wms.Job.Domain.Acl { public abstract class AclServiceBase : DomainService, ITransientDependency { protected ISettingManager SettingManager => LazyServiceProvider.LazyGetRequiredService(); protected int CacheMinutes => Convert.ToInt32(SettingManager.GetOrNullGlobalAsync(JobSettings.Cache.Minutes).Result); } }