Class AbpTenantController
Implements
Inherited Members
Namespace: Pages.Abp.MultiTenancy
Assembly: Volo.Abp.AspNetCore.Mvc.UI.MultiTenancy.dll
Syntax
[Area("abp")]
[RemoteService(true, Name = "abp")]
[Route("api/abp/multi-tenancy")]
public class AbpTenantController : AbpControllerBase, IAvoidDuplicateCrossCuttingConcerns, IAbpTenantAppService, IApplicationService, IRemoteService
Constructors
AbpTenantController(IAbpTenantAppService)
Declaration
public AbpTenantController(IAbpTenantAppService abpTenantAppService)
Parameters
Type | Name | Description |
---|---|---|
IAbpTenantAppService | abpTenantAppService |
Methods
FindTenantByIdAsync(Guid)
Declaration
[HttpGet]
[Route("tenants/by-id/{id}")]
public virtual Task<FindTenantResultDto> FindTenantByIdAsync(Guid id)
Parameters
Type | Name | Description |
---|---|---|
Guid | id |
Returns
Type | Description |
---|---|
Task<FindTenantResultDto> |
FindTenantByNameAsync(string)
Declaration
[HttpGet]
[Route("tenants/by-name/{name}")]
public virtual Task<FindTenantResultDto> FindTenantByNameAsync(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name |
Returns
Type | Description |
---|---|
Task<FindTenantResultDto> |