public async Task <ActionResult <IEnumerable <Student> > > Get() { var students = await _repository.GetAllUserStudentsAsync(UserId); if (students != null) { return(Ok(students)); } return(BadRequest(new { message = $"Студенты не найдены" })); }