Example #1
0
        public static Attachment ToWebModel(this QuoteModule.Client.Model.QuoteAttachment serviceModel)
        {
            var webModel = new Attachment();

            webModel.InjectFrom <NullableAndEnumValueInjecter>(serviceModel);
            return(webModel);
        }
Example #2
0
        public static QuoteModule.Client.Model.QuoteAttachment ToQuoteServiceModel(this Attachment webModel)
        {
            var serviceModel = new QuoteModule.Client.Model.QuoteAttachment();

            serviceModel.InjectFrom <NullableAndEnumValueInjecter>(webModel);
            return(serviceModel);
        }