protected string GetCurrentUserRole() { if (_currentUser != null) { AccountRole accountRole = _accountRoleRepository.GetByAccount( _currentUser.AccountId); if ((accountRole != null) && (accountRole.RoleType.HasValue)) { return(accountRole.RoleType.GetDescription()); } } return(string.Empty); }