public async Task <IActionResult> AddNewComment(AddNewCommentVM model)
        {
            if (ModelState.IsValid)
            {
                ApplicationUser applicationUser = await _userManager.GetUserAsync(HttpContext.User);

                UserProfile user = await _repository.GetUserByIdAsync(new Guid(applicationUser.Id));

                if (user == null)
                {
                    return(RedirectToAction("MakeNewProfile", "Main"));
                }
                Picture picture = await _repository.GetPictureAsync(model.PictureId);

                Comment comment = new Comment
                {
                    Id          = Guid.NewGuid(),
                    User        = user,
                    Text        = model.Text,
                    DateCreated = DateTime.Now,
                    Picture     = picture
                };
                await _repository.AddCommentAsync(comment);

                return(RedirectToAction("Index", new { id = model.PictureId }));
            }
            else
            {
                return(View(model));
            }
        }