private void CreateCatAddressTableData()
 {
     foreach (string catagory in CatAddress.GetCatagoryList())
     {
         AddressCatagory addressCatagory = new AddressCatagory();
         addressCatagory.Code = catagory;
         addressCatagory.Name = catagory;
         SaveAddressCatagory(addressCatagory);
     }
 }
        private void SaveAddressCatagory(AddressCatagory addressCatagory)
        {
            AddressCatagory catagory = db.AddressCatagories.Find(addressCatagory.Code);

            if (catagory == null)
            {
                db.AddressCatagories.Add(addressCatagory);
                db.SaveChanges();
            }
        }