public void SaveComment(string comment) { var currentUserId = WebSecurity.CurrentUserId; var newComment = new ProjectComment { CommentText = comment, ProjectId = ProjectId, UserId = currentUserId, CommentingDate = DateTime.Now }; ProjectManagementService.SaveComment(newComment); }