public ActionResult DisplayPascalsTriangle(PascalRequest numRows)
        {
            if (ModelState.IsValid)
            {
                int input = numRows.PascalInput;
                var pc = new PascalCalculator();
                var model = new Triangle();
                model.Elements = pc.Calculate(input);
                return View("DisplayPascalsTriangle", model);
            }
            return View("NumRowsRequest", numRows);

        }
 public ActionResult NumRowsRequest()
 {
     var model = new PascalRequest();
     return View(model);
 }