public async Task <IActionResult> Index(ContactViewModel contactViewModel)
        {
            if (ModelState.IsValid)
            {
                UserMessage userMessage = new UserMessage();
                userMessage.Body        = contactViewModel.Message;
                userMessage.SenderEmail = contactViewModel.SenderEmail;
                userMessage.Read        = false;

                string userName = HttpContext.User.Identity.Name;
                if (!string.IsNullOrEmpty(userName))
                {
                    userMessage.ApplicationUser = await GetCurrentUser();
                }

                await userMessageRepository.AddAsync(userMessage);

                TempData["msg"] = "Your message has been sent! We will answer you as soon as possible.";
                return(Redirect(Url.Content("/" + contactViewModel.ReturnUrl)));
            }
            else
            {
                contactViewModel.SenderEmail = null;
                return(View(contactViewModel));
            }
        }