Exemplo n.º 1
0
        public static CategoriesEntities ToCategoryEntities(Categories c)
        {
            CategoriesEntities cnew = new CategoriesEntities()
            {
                CategoryName = c.CategoryName, Categorycode = c.Category_code
            };

            return(cnew);
        }