|
|
|
|
@ -21,14 +21,14 @@ namespace Pages.Abp.MultiTenancy
|
|
|
|
|
|
|
|
|
|
[HttpGet]
|
|
|
|
|
[Route("tenants/by-name/{name}")]
|
|
|
|
|
public async Task<FindTenantResultDto> FindTenantByNameAsync(string name)
|
|
|
|
|
public virtual async Task<FindTenantResultDto> FindTenantByNameAsync(string name)
|
|
|
|
|
{
|
|
|
|
|
return await _abpTenantAppService.FindTenantByNameAsync(name);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[HttpGet]
|
|
|
|
|
[Route("tenants/by-id/{id}")]
|
|
|
|
|
public async Task<FindTenantResultDto> FindTenantByIdAsync(Guid id)
|
|
|
|
|
public virtual async Task<FindTenantResultDto> FindTenantByIdAsync(Guid id)
|
|
|
|
|
{
|
|
|
|
|
return await _abpTenantAppService.FindTenantByIdAsync(id);
|
|
|
|
|
}
|
|
|
|
|
|