public ActionResult <DashboardDto> GetStudentById(Guid id) { if (id == Guid.Empty) { return(BadRequest()); } var student = dashboardManager.GetStudentById(id); if (student is null) { return(BadRequest()); } return(Ok(student)); }