public static CategoriesEntities ToCategoryEntities(Categories c) { CategoriesEntities cnew = new CategoriesEntities() { CategoryName = c.CategoryName, Categorycode = c.Category_code }; return(cnew); }
public static CategoriesEntities ToCategoryEntities(Categories c) { CategoriesEntities cnew = new CategoriesEntities() { CategoryName = c.CategoryName, Categorycode = c.Category_code }; return(cnew); }