private void btnAmphoeCategory_Click(object sender, EventArgs e) { var amphoe = cbxAmphoe.SelectedItem as Entity; if (amphoe != null) { if (_helper.GetCategoryOfItem(amphoe) == null) { _bot.CreateCategory(amphoe); } } }
private void btnAmphoeCategory_Click(object sender, EventArgs e) { var amphoe = cbxAmphoe.SelectedItem as Entity; if (amphoe != null) { if (_helper.GetCategoryOfItem(amphoe) == null) { _bot.CreateCategory(amphoe); } } }