private bool FetchAlertsForProcessing() { bool b = false; var c = Criterion.GenerateStrategy("for.processing"); c.AddItem("CurrentStatus", "none"); var alertResponse = Service.GetAll <eXAlert>(c); if (alertResponse.IsOkay) { foreach (var item in alertResponse) { Alerts.Add(item); } b = true; } return(b); }