public ActionResult Index(BowlingPinViewModel bowlingPinViewModel)
        {
            string recivedFile = _fileInputToText.reciveATextFile(bowlingPinViewModel.scoreFile);

            bowlingPinViewModel.players = readFileReciveScoreAndNames(recivedFile);
            return(View(bowlingPinViewModel));
        }
        // GET: BowlingPinCalculator
        public ActionResult Index()
        {
            BowlingPinViewModel bowlingPinViewModel = new BowlingPinViewModel();

            return(View(bowlingPinViewModel));
        }