예제 #1
0
 public string ToStringAdmin()
 {
     return($"Site user '{Name}'{(AwardId!=null?(" with awars with id '"+AwardId.ToString()+"'") :"")} access permission '" +
            $"{(AccessPermission!=null?(AccessPermission == "true"?"Admin":"user"):"user")}'.");
 }
예제 #2
0
 public override string ToString()
 {
     return($"{Name} {AwardId.ToString()}");
 }