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.
18 lines
536 B
18 lines
536 B
using System.Threading.Tasks;
|
|
using Tiobon.Core.Common.DB;
|
|
using Tiobon.Core.Common.DB.Extension;
|
|
using Tiobon.Core.IRepository.Base;
|
|
using Tiobon.Core.Model.IDS4DbModels;
|
|
using Tiobon.Core.Services.BASE;
|
|
|
|
namespace Tiobon.Core.IServices
|
|
{
|
|
public class ApplicationUserServices : BaseServices<ApplicationUser>, IApplicationUserServices
|
|
{
|
|
public bool IsEnable()
|
|
{
|
|
var configId = typeof(ApplicationUser).GetEntityTenant();
|
|
return Db.AsTenant().IsAnyConnection(configId);
|
|
}
|
|
}
|
|
} |