void client_GetDepartmentHistoryCompleted(object sender, GetDepartmentHistoryCompletedEventArgs e) { if (e.Result != null) { allDepartments = e.Result.ToList(); } BindDepartment(); client.GetPostHistoryAsync(currentDate); }