public bool AddPost(Post p) { try { posts.Add(p.Key, p); } catch (Exception) { return false; } return true; }