Example #1
0
        public static Product Create(this ProductViewModel model)
        {
            var product = new Product();

            model.CopyTo(product);
            return(product);
        }