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