public ActionResult ThirdLab(int m, int n)
        {
            ThirdLabViewModel thirdLabViewModel = new ThirdLabViewModel
            {
                N = n,
                M = m
            };
            thirdLabViewModel.FillRandom();

            return View(thirdLabViewModel);
        }
        public ActionResult ThirdLab(int n, int m, List<double> matrixItems, int[] basisIndexes, double[] vectorB, double[] vectorC, double[] vectorY)
        {
            ThirdLabViewModel thirdLabViewModel = new ThirdLabViewModel
            {
                N = n,
                M = m,
                VectorB = vectorB,
                VectorC = vectorC,
                VectorY = vectorY,
                BasisIndexes = basisIndexes
            };

            thirdLabViewModel.FillFromSource(matrixItems);
            thirdLabViewModel.SimplexMethodResult = DualSimplexMethod.Solve(thirdLabViewModel.SourceMatrix, vectorC, vectorB, vectorY, basisIndexes);
            return View(thirdLabViewModel);
        }