private bool PopulateData() { Plants = new List <Plant>(); try { IOrderedEnumerable <Plant> orderedPlants = Garden?.GetPlantsForGarder().OrderBy(x => x.Name); Plants = orderedPlants; return(true); } catch (Exception) { return(false); } }