Exemple #1
0
        public ActionResult Delete(string id)
        {
            ViewBag.Cutoffs = CutoffData.ListAll();
            Cutoff cutoff = CutoffData.GetById(id);

            return(View(cutoff));
        }
Exemple #2
0
        // GET: Cutoff
        public ActionResult Index()
        {
            List <Cutoff> model = new List <Cutoff>();

            model = CutoffData.ListAll();
            return(View(model));


            //ViewBag.Cutoffs = CutoffData.ListAll();
            //List<Cutoff> model = new List<Cutoff>();
            //model = CutoffData.ListAll();
            //return View(model);
        }
Exemple #3
0
 public ActionResult Add()
 {
     ViewBag.Cutoffs = CutoffData.ListAll();
     return(View());
 }