void ReleaseDesignerOutlets()
        {
            if (AvailableModelsTable != null)
            {
                AvailableModelsTable.Dispose();
                AvailableModelsTable = null;
            }

            if (SgmApi != null)
            {
                SgmApi.Dispose();
                SgmApi = null;
            }
        }
 void SgmApi_ValueChanged(object sender, EventArgs e)
 {
     selectedApiResource = (ApiResource)(int)SgmApi.SelectedSegment;
     selectedModelIndex  = 0;
     AvailableModelsTable.ReloadSections(NSIndexSet.FromIndex(0), UITableViewRowAnimation.Automatic);
 }