- 01
- 02
- 03
- 04
- 05
- 06
- 07
- 08
- 09
- 10
- 11
- 12
- 13
- 14
- 15
List<LocalBusiness> sortedLocalBusinesses = new List<LocalBusiness>();
foreach (LocalBusiness business in foundLocalBusinesses)
{
if (!business.Logo.UrlSmall.Equals("/images/local_business_default_logo.png"))
{
sortedLocalBusinesses.Add(business);
}
}
foreach (LocalBusiness business in foundLocalBusinesses)
{
if (business.Logo.UrlSmall.Equals("/images/local_business_default_logo.png"))
{
sortedLocalBusinesses.Add(business);
}
}
Сортировка - первыми должны быть объекты с не дефолтными картинками.