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