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

16 lines
520 B

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