예제 #1
0
        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));
        }