/// <summary> /// Gets the suburbs. /// </summary> /// <returns></returns> public async Task <List <ModelSuburb> > GetSuburbs() { using (var db = new MancobaLocalDataApi(_connectionFactory, _platformCapabilities)) { var response = await db.GetSuburbs(); if (response == null || response.Count == 0) { response = await TestData.GetSuburbs(); } return(response.ToModelCollection()); } }