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