示例#1
0
 public static UserViewModel ToCreateNewModel(this T_User entity)
 {
     return(entity.MapTo <T_User, UserViewModel>());
 }
示例#2
0
 public static UserGridViewModel ToModel(this T_User entity)
 {
     return(entity.MapTo <T_User, UserGridViewModel>());
 }