Пример #1
0
 public static Option ToEntity(this OptionModel model, Option destination)
 {
     return(model.MapTo(destination));
 }
Пример #2
0
 public static Option ToEntity(this OptionModel model)
 {
     return(model.MapTo <OptionModel, Option>());
 }