Example #1
0
 private TenantDto GetTenant()
 {
     var tenantOwer = new TenantOwner(this.RouteData);
     return tenantOwer.GetCurrentTenant();
 }
 protected override bool AuthorizeCore(HttpContextBase httpContext)
 {
     var owner = new TenantOwner(httpContext);
     var isExistTenant = owner.ExistTenant();
     return isExistTenant;
 }