async Task Load_List(E_Build_type type) { List <Data_building> temp = await SQL_Manager.Select <Data_building>("Building"); foreach (var d in temp) { if (d.Id_type == (int)type) { Data.Add(d); } } }
public async void Load_Content(E_Build_type type) { await Load_List(type); Refresh(); }