public static IUser Convert(SurrogateForIUser value)
 {
     if (value == null)
     {
         return(null);
     }
     return(new UserRef(value.Target));
 }
 public static IUser Convert(SurrogateForIUser value)
 {
     if (value == null) return null;
     return new UserRef(value.Target);
 }