AspNet Zero 10.1 Angular - .Net Core
Hello!
Please explain why you will switch to the host in the method GetCurrentTenant of AppServiceBase class:
protected virtual Task<Tenant> GetCurrentTenantAsync() { using (CurrentUnitOfWork.SetTenantId(null)) { return TenantManager.GetByIdAsync(AbpSession.GetTenantId()); } }
Best regards!