public void CancelForum(SuperManager superManager, Forum f) { if ((superManager == this.SuperManager)) { rep.Remove <Forum>(f); } }
public ForumSystemImpl(String username, String pass, String mail, String fullname, String db) { this.SuperManager = new SuperManager(username, pass, mail, fullname); PolicyInterface p = new Policy(10); activeSuper = false; // this.AllPolicy = new List<PolicyInterface>(); // this.AllForum = new List<Forum>(); this.database = db; load(); rep.Add <PolicyInterface>(p); }