21 lines
549 B
C#
21 lines
549 B
C#
using Dlhis.Sys.Identity.Request;
|
|
using Dlhis.Sys.Identity.Response;
|
|
using Kurisu.AspNetCore.DataAccess.Dto;
|
|
|
|
namespace Dlhis.Sys.Identity.Services;
|
|
|
|
public interface ITenantService : IScopeDependency
|
|
{
|
|
Task<Pagination<TenantResponse>> GetPageAsync(TenantPageRequest request);
|
|
|
|
Task<List<TenantResponse>> GetListAsync();
|
|
|
|
Task<List<TenantTreeResponse>> GetTreeAsync();
|
|
|
|
Task<TenantResponse> GetTenantByCode(string code);
|
|
|
|
Task<List<TenantResponse>> GetMyTenantsAsync();
|
|
|
|
Task SaveTenantAsync(TenantSaveRequest request);
|
|
}
|