public static CustomPage ToEntity(this CustomPageModel model, CustomPage destination) { return(model.MapTo(destination)); }
public static CustomPage ToEntity(this CustomPageModel model) { return(model.MapTo <CustomPageModel, CustomPage>()); }