public void AddPost(string text) { Post post = new Post(); post.Text = text; string n = userBLL.LoginRead(); ObjectId id = userDAL.GetUserId(n); post.OwnerId = id; post.DateTime = DateTime.Now.ToString(); postDAL.InsertPost(post); }