Exemple #1
0
        public ActionResult Edit(int id)
        {
            SetupEmergencyCaseProvider SECPro = new SetupEmergencyCaseProvider();
            SetupEmergencyCaseModel    model  = new SetupEmergencyCaseModel();

            model = SECPro.GetList().Where(x => x.CaseId == id).FirstOrDefault();
            return(View(model));
        }
Exemple #2
0
        //
        // GET: /SetupEmergencyCase/

        //public ActionResult Index()
        //{
        //    return View();
        //}
        public ActionResult Index()
        {
            SetupEmergencyCaseProvider SECPro = new SetupEmergencyCaseProvider();
            SetupEmergencyCaseModel    model  = new SetupEmergencyCaseModel();

            model.SetupBlockModelList = SECPro.GetList();
            return(View(model));
        }