// GET api/<controller>
        public object Get(string link)
        {
            var queue      = new QueueService();
            var linkToShot = queue.AddToQueue(link);

            //var screenService = new ScreenShortService();
            //var screenSort = screenService.GetScreenShortByUrl(link);
            //Stream stream = new MemoryStream(screenSort);
            //HttpResponseMessage result = new HttpResponseMessage(HttpStatusCode.OK);
            //result.Content = new StreamContent(stream);
            //result.Content.Headers.ContentType =
            //    new MediaTypeHeaderValue("application/octet-stream");
            //return result;
            return(linkToShot);
        }
        //   [System.Web.Http.HttpPost]
        public object Post([FromBody] string[] links)
        {
            var queue  = new QueueService();
            var result = new List <LinkModel>();

            foreach (var link in links)
            {
                if (!link.Contains("http:") && !link.Contains("https:"))
                {
                    continue;
                }
                result.Add(queue.AddToQueue(link));
            }

            //JsonConvert.DefaultSettings = (() =>
            //{
            //    var settings = new JsonSerializerSettings();
            //    settings.Converters.Add(new StringEnumConverter { CamelCaseText = true });
            //    return settings;
            //});
            //var converted = JsonConvert.SerializeObject(result);
            return(result);
        }