Example #1
0
        public static VIEW_TG_productColor ToViewModel(TG_productColor model)
        {
            VIEW_TG_productColor item = new VIEW_TG_productColor();

            item.Id    = model.Id;
            item.color = model.color;
            return(item);
        }
Example #2
0
        public static TG_productColor ToEntity(VIEW_TG_productColor model)
        {
            TG_productColor item = new TG_productColor();

            item.Id    = model.Id;
            item.color = model.color;
            return(item);
        }