Example #1
0
 public static UserModel Reduce(this FullUserModel from)
 {
     UserModel to = new UserModel();
     Reduce(from, to);
     return to;
 }
Example #2
0
 public static void Reduce(this FullUserModel from, UserModel to)
 {
     to.UserId = from.UserId;
     to.Username = from.Username;
 }