public RestaurantModel GetRestaurantById(string id, string lang = DefaultLang)
{
log.DebugFormat("[GetRestaurantById] id={0}.", id);
try
{
var rest = GetRestaurantBasicById(id).ToRestaurantModel(true, lang, new RestaurantModelBackOffice());
//return rest;
return rest;
}
catch (Exception e)
{
log.ErrorFormat("[GetRestaurantById] error: id={0}, Exception={1}.", id, e.ToString());
return null;
}
}