Beispiel #1
0
        public void InputNumber(FormCollection collection)
        {
            var nsgService = new Business.NumberSequencesGeneratorService();

            ViewBag.UpperLimit = collection["UpperLimit"];
            //return View("ViewResult");

            RedirectToAction("ViewResult");
        }
Beispiel #2
0
        public void TestMethod1()
        {
            //
            // TODO: Add test logic here
            //

            var objNumberSequencesGeneratorService = new Business.NumberSequencesGeneratorService();
            var result = objNumberSequencesGeneratorService.GenerateSequence(10);

            Assert.AreEqual(10, 10);
        }