public ActionResult Index()
        {
            IEnumerable <int> numbers = _repo.GetNumbers();

            return(View(numbers));
        }
Exemplo n.º 2
0
 /// <summary>
 /// Used to get a reasonable pivot for the set of data
 /// </summary>
 /// <returns></returns>
 public int GetApproximateMedian()
 {
     return(numberRepository.GetNumbers().FindApproximateMedian());
 }
Exemplo n.º 3
0
        // GET: Numbers
        public ActionResult Index()
        {
            IList <int> numbers = numbersRepo.GetNumbers();

            return(View(numbers));
        }