Exemple #1
0
 public static PermissionSystem.Models.User ToEntity(this UserViewModel model,
                                                     PermissionSystem.Models.User entity)
 {
     return(model.MapTo(entity));
 }
Exemple #2
0
 public static UserViewModel ToModel(this PermissionSystem.Models.User entity)
 {
     return(entity.MapTo <PermissionSystem.Models.User, UserViewModel>());
 }