| 1234567891011121314151617181920212223242526 |
- using System.Collections.Generic;
- using System.Threading.Tasks;
- using Abp.Domain.Repositories;
- using WeApp.Authorization.Users;
- using WeApp.MultiTenancy;
- using IwbZero.MultiTenancy;
- namespace WeApp.MultiTenancy
- {
- public class TenantManager : IwbTenantManager<Tenant, User>
- {
- public TenantManager(
- IRepository<Tenant> tenantRepository
- )
- : base(
- tenantRepository
- )
- {
- }
- public async Task<List<Tenant>> GeTenants()
- {
- return await TenantRepository.GetAllListAsync();
- }
- }
- }
|