public static ProfileFormatItem ToModel(this ProfileFormatItemResource resource) { return(new ProfileFormatItem { Format = resource.Format.ToModel(), Score = resource.Score }); }
public static ProfileFormatItem ToModel(this ProfileFormatItemResource resource) { return(new ProfileFormatItem { Format = resource.Format.ToModel(), Allowed = resource.Allowed }); }