// GET: Inventory
        public ActionResult Index()
        {
            ViewBag.Title = "Current Parts Inventory";
            var parts = _partManager.RetrieveAllPartInformation();

            return(View(parts));
        }
        }        // End populatePartList()

        private void partInformationList()
        {
            try
            {
                dgAllPartList.ItemsSource = _partManager.RetrieveAllPartInformation();
                dgAllPartList.Columns.RemoveAt(1);
                dgAllPartList.Columns.RemoveAt(2);
                dgAllPartList.Columns.RemoveAt(4);
                dgAllPartList.Columns[0].Header = "Part Number";
                dgAllPartList.Columns[1].Header = "Part Name";
                dgAllPartList.Columns[2].Header = "Cost";
                dgAllPartList.Columns[3].Header = "Description";
            }
            catch (Exception ex)
            {
                MessageBox.Show(ex.Message + "\n\n" + ex.InnerException.Message);
            }
        }        // End partInformationList()