public async Task OnGet()
        {
            string  userId  = HttpContext.User.Claims.Where(x => x.Type.Equals("sub")).FirstOrDefault().Value;
            Profile profile = await _mediator.Send(new GetProfileByUserIdQuery(userId));

            Model = new UpdateStudentProfileCommand
            {
                ProfileId  = profile.Id,
                FirstName  = profile.PersonalDetails.FirstName,
                LastName   = profile.PersonalDetails.LastName,
                ScreenName = profile.PersonalDetails.ScreenName,
                Email      = profile.PersonalDetails.Email
            };
        }
        public async Task <IActionResult> UpdateStudent(UpdateStudentProfileCommand command)
        {
            await Mediator.Send(command);

            return(NoContent());
        }