public async void AnagramCheck(string[] args)
        {
            if (args.Length <= 3 && args.Length >= 2)
            {
                if (args[0] == "check" && args.Length == 3)
                {
                    String anagram = checker.IsAnagram(args[1], args[2]) ? "" : "no ";
                    {
                        Console.WriteLine("\"{0}\" and \"{1}\" are {2}anagrams", args[1], args[2], anagram);
                    }
                    return;
                }
                else if (args[0] == "getKnown" && args.Length == 2)
                {

                    string anagramText = await reader.ReadAnagramFile();

                    foreach (var s in checker.GetKnownAnagrams(args[1], anagramText))
                    {
                        Console.WriteLine(s);
                    }
                    return;
                }
                Console.WriteLine("Please enter:");
                Console.WriteLine("AnagramChecker check <word1> <word2>");
                Console.WriteLine("or AnagramChecker getKnown <word>");
            }
        }
        public async Task <IActionResult> GetKnownAnagrams([FromQuery] string w)
        {
            string anagramText = await reader.ReadAnagramFile();

            var            anagramWords = anagramText.Replace("\r", "").Split("\n");
            List <Anagram> anagramList  = new List <Anagram>();

            foreach (var s in anagramWords)
            {
                var splitted = s.Replace(" ", "").Split("=");
                anagramList.Add(new Anagram(splitted[0], splitted[1]));
            }
            var res = checker.GetKnownAnagrams(w, anagramText);

            if (res.Count() > 0)
            {
                return(Ok(res));
            }
            return(NotFound());
        }