varresult=MessageBox.Show($"Do you really want to generate and add to database {txtToolAmount.Text} random tools?","Add random tools to database",MessageBoxButton.YesNo);
if(result==MessageBoxResult.Yes)
{
Generate();
lblInfo.Content=$"You have added {txtToolAmount.Text} random tools into database";
varresult=MessageBox.Show($"Do you really want to generate and add to database {txtToolAmount.Text} random tools?","Add random tools to database",MessageBoxButton.YesNo);
returnresult.ToString();
if(result==MessageBoxResult.Yes)
{
Generate();
lblInfo.Content=$"You have added {txtToolAmount.Text} random tools into database";