public static void InsertNewProductType(string name, string desc) { ProductType newProduct = ProductTypeFactory.CreateNewProductType(name, desc); db.ProductTypes.Add(newProduct); db.SaveChanges(); }