private void ClaimAll() { foreach (Mail m in MailList) { if (!m.Claimed) { db.ClaimSingle(m); m.Seen = true; m.Claimed = true; } } RefreshMail(); }
private void ClaimAll() { foreach (Mail m in MailList) { if (!m.Claimed) { db.ClaimSingle(m); m.Seen = true; m.Claimed = true; } } RefreshMail(); }