public async Task <IActionResult> Post([FromBody] StudentViewModel viewModel)
        {
            if (!ModelState.IsValid)
            {
                return(BadRequest(ModelState));
            }

            var id = ClaimsHelper.GetIdentifier(User);

            if (id.HasValue)
            {
                viewModel.User.Id = id.Value;
                await _studentService.CreateAsync(viewModel.ToDto(), Bll.Extensions.UserExtensions.ToEntity);

                viewModel.Id = id.Value;
                return(CreatedAtAction(nameof(Get), viewModel));
            }

            return(Unauthorized());
        }