public static VirtoCommerceQuoteModuleWebModelQuoteAttachment ToQuoteServiceModel(this Attachment webModel) { var serviceModel = new VirtoCommerceQuoteModuleWebModelQuoteAttachment(); serviceModel.InjectFrom <NullableAndEnumValueInjecter>(webModel); return(serviceModel); }
public static Attachment ToWebModel(this VirtoCommerceQuoteModuleWebModelQuoteAttachment serviceModel) { var webModel = new Attachment(); webModel.InjectFrom <NullableAndEnumValueInjecter>(serviceModel); return(webModel); }
public static VirtoCommerceQuoteModuleWebModelQuoteAttachment ToQuoteServiceModel(this Attachment webModel) { var serviceModel = new VirtoCommerceQuoteModuleWebModelQuoteAttachment(); serviceModel.InjectFrom<NullableAndEnumValueInjecter>(webModel); return serviceModel; }