maliming
5 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
2 additions and
2 deletions
-
framework/src/Volo.Abp.AspNetCore.Mvc.UI.MultiTenancy/Pages/Abp/MultiTenancy/AbpTenantController.cs
|
|
|
@ -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); |
|
|
|
} |
|
|
|
|