public string editPost(string forumName, string subForumName, int postNo, string requestingUser, string content) { List <string> input = new List <string>() { forumName, subForumName, requestingUser }; if (Constants.isValidInput(input)) { lock (o) { permission p = _um.getUserPermissionsForSubForum(forumName, subForumName, requestingUser); return(_fm.editPost(forumName, subForumName, postNo, requestingUser, p, content)); } } return(Constants.INVALID_INPUT); }