public async Task <IActionResult> SendMailLink(string emailMargin, string fileModel)
        {
            //string baseUrl = Request.Url.GetLeftPart(UriPartial.Authority);
            string url = (HttpContext.Request.GetDisplayUrl()).Replace("SendMailLink", "Download");

            url += fileModel;
            // var GenarateUrl = GetUrl.GetUri(request);
            EmailServices serviceSender = new EmailServices();
            await serviceSender.SendEmailLinkAsync(emailMargin, "This is your link for download photo",
                                                   $" Pleace enter this link and go to <a href='{url}'>link for download photo</a>");

            return(Content("The message was sent to the specified email " + emailMargin));
        }