public IActionResult getLectureFeed([FromQuery] string studentNumber = "", [FromQuery] string hash = "") { long userID = 0; LectureItem[] lectures = new LectureItem[0]; UserItem userItem = userDB.getUserByName(studentNumber); if (userItem != null) { userID = userItem.UserID; lectures = lectureService.getLectures(userID); } return(Ok(lectures)); }