public static string OnGetRachinskiySecondSolve(string data)
        {
            try
            {
                var stringOfNumbers = data.Split("/");
                if (stringOfNumbers.Length != 2)
                {
                    throw new Exception();
                }

                var n = int.Parse(stringOfNumbers[0]);
                var d = int.Parse(stringOfNumbers[1]);

                if (!IsPrime(d))
                {
                    return(ErrorTextAboutRachinskiy);
                }

                var criterionDivibility = new CriterionsForDivisibility(n, d);
                var solveString         = criterionDivibility.GetRachinskiySecondSolve();

                return(solveString + "\n");
            }
            catch (Exception e)
            {
                return("Error! An invalid string was specified.\n\n");
            }
        }
        public static string OnGetPaskaleSolve(string data)
        {
            try
            {
                var stringOfNumbers = data.Split("/");
                if (stringOfNumbers.Length != 2)
                {
                    throw new Exception();
                }

                var n = int.Parse(stringOfNumbers[0]);
                var d = int.Parse(stringOfNumbers[1]);

                var criterionDivibility = new CriterionsForDivisibility(n, d);
                criterionDivibility.GetPaskalSolve();

                return(criterionDivibility.Logger + "\n");
            }
            catch (Exception e)
            {
                return("Error! An invalid string was specified.\n\n");
            }
        }