public static CommentsRequest ToModel(this CommentsRequestCreate model)
 {
     return(new CommentsRequest
     {
         RequestUrl = model.RequestUrl,
         Email = model.Email
     });
 }
        public async Task <IActionResult> SendMail(CommentsRequestCreate request)
        {
            var newRequest = request.ToModel();

            _repository.Create(newRequest);
            await _repository.SaveAsync();

            return(RedirectToAction(nameof(ThankYou), new { id = newRequest.Id.ToString() }));
        }