public static Permission ToEntity(this PermissionModel model) { return(model.MapTo <PermissionModel, Permission>()); }
public static Permission ToEntity(this PermissionModel model, Permission destination) { return(model.MapTo(destination)); }
public static Permission ToPermission(this PermissionModel entity) { return(entity.MapTo <PermissionModel, Permission>()); }