Exemple #1
0
 public static CustomPermissions ToEntity(this CustomPermissionsModel model, CustomPermissions destination)
 {
     return(model.MapTo(destination));
 }
Exemple #2
0
 public static CustomPermissionsModel ToModel(this CustomPermissions entity)
 {
     return(Mapper.Map <CustomPermissions, CustomPermissionsModel>(entity));
 }