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); }
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); }