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.
 
 
 
 
 

23 lines
599 B

using Identity.Api.Clean.Domain.Entites;
namespace Identity.Api.Clean.Shared.IServices;
/// <summary>
/// 租户领域服务
/// </summary>
public interface ITenantManager
{
/// <summary>
/// 创建
/// </summary>
/// <param name="name">租户名称</param>
/// <returns>返回租户实体</returns>
Task<Tenant> CreateAsync(string tenantName);
/// <summary>
/// 修改名称
/// </summary>
/// <param name="tenant">租户实体</param>
/// <param name="tenantName">租户名称</param>
Task ChangeNameAsync(Tenant tenant, string tenantName);
}