Example #1
0
 public TreeViewNode(DepartmentSpecificState departmentSpecificState, bool hasChildren)
     : this()
 {
     Id           = departmentSpecificState.Id;
     Name         = departmentSpecificState.Name;
     Type         = "DepartmentSpecificState";
     _hasChildren = hasChildren;
 }
Example #2
0
        private string GetSpecificDepartmentName()
        {
            var result = "";

            if (_id.HasValue)
            {
                _specificState = DBHelper.GetDepartmentSpecificState(_id.Value);

                result = _specificState != null ? _specificState.Name : string.Empty;
            }

            return(result);
        }