Esempio n. 1
0
 public static Permission ToEntity(this PermissionModel model)
 {
     return(model.MapTo <PermissionModel, Permission>());
 }
Esempio n. 2
0
 public static Permission ToEntity(this PermissionModel model, Permission destination)
 {
     return(model.MapTo(destination));
 }
Esempio n. 3
0
 public static Permission ToPermission(this PermissionModel entity)
 {
     return(entity.MapTo <PermissionModel, Permission>());
 }