public void SaveResults()
{
foreach (RestaurantBasicData rest in allClassified)
{
try
{
DateTime date = DateTime.UtcNow;
rest.Source = "CuisineClassifier_" + date.Year.ToString() + "." + date.Month.ToString() + "." + date.Day.ToString();
rest.UpdatedBy = "CuisineClassifier_" + date.Year.ToString() + "." + date.Month.ToString() + "." + date.Day.ToString();
RestaurantUpdate.Update(rest);
}
catch (Exception e)
{
log.ErrorFormat("[SaveResults] Exception={0}.", e.Message);
}
}
}