public ActionResult Solve(string[] values) { var input = string.Join("", values); var model = new BoardUIModel(_service.search(_service.parse_grid(input))); return View("Index", model); }
public ActionResult Index() { var model = new BoardUIModel(_service.get_board(null)) { OriginalInput = _solvedModels }; return(View(model)); }
public ActionResult Solve(string[] values) { values = CleanValues(values); var input = string.Join("", values); AddInputToSolvedModels(input); var model = new BoardUIModel(_service.search(_service.parse_grid(input))) { OriginalInput = _solvedModels }; return View("Index", model); }
public ActionResult Board(string input) { AddInputToSolvedModels(input); var model = new BoardUIModel(_service.get_board(input)) { OriginalInput = _solvedModels }; return(View("Index", model)); }
public ActionResult Solve(string[] values) { values = CleanValues(values); var input = string.Join("", values); AddInputToSolvedModels(input); var model = new BoardUIModel(_service.search(_service.parse_grid(input))) { OriginalInput = _solvedModels }; return(View("Index", model)); }
public ActionResult Index() { var model = new BoardUIModel(_service.get_board(null)); return View(model); }
public ActionResult Board(string input) { var model = new BoardUIModel(_service.get_board(input)); return View("Index", model); }
public ActionResult Index() { var model = new BoardUIModel(_service.get_board(null)) { OriginalInput = _solvedModels }; return View(model); }
public ActionResult Board(string input) { AddInputToSolvedModels(input); var model = new BoardUIModel(_service.get_board(input)) { OriginalInput = _solvedModels }; return View("Index", model); }