public ActionResult AnimationDummy(int id) { var formType = algorithmRepository.retrieveFormType(id); AnimationViewModel vm = new AnimationViewModel(); vm.algoDetails = algorithmRepository.FindThis(id).SingleOrDefault(); return(View(vm)); }
public ActionResult AlgorithmDetails(int id) { var formType = algorithmRepository.retrieveFormType(id); AlgorithmViewModel vm = new AlgorithmViewModel(); vm.algoDetails = algorithmRepository.FindThis(id).SingleOrDefault(); vm.algoNavBar = algorithmRepository.FindSameParadigmTypeAlgorithm(id).ToList(); return(View(vm)); }