@if (!IsPermitted) {
شما اجازه دسترسی به این بخش را ندارد
} @code { [Parameter] public bool IsPermitted { get; set; } }