예제 #1
0
 public static ProfileFormatItem ToModel(this ProfileFormatItemResource resource)
 {
     return(new ProfileFormatItem
     {
         Format = resource.Format.ToModel(),
         Score = resource.Score
     });
 }
예제 #2
0
 public static ProfileFormatItem ToModel(this ProfileFormatItemResource resource)
 {
     return(new ProfileFormatItem
     {
         Format = resource.Format.ToModel(),
         Allowed = resource.Allowed
     });
 }