예제 #1
0
        public ActionResult EmpJobView(string day)
        {
            var vr = new EmpJobEditModel()
            {
                day           = day,
                jobNumber     = "14 - 081",
                status        = "OPEN",
                hours         = 8.0,
                miles         = 125,
                lunch         = 0.5,
                workPreferred = "Dry Wall"
            };

            return(View(vr));
        }
예제 #2
0
        public ActionResult EmpJobAdd(string day)
        {
            //  ViewData["day"] = day;
            var vr = new EmpJobEditModel()
            {
                day           = day,
                jobNumber     = "",
                status        = "OPEN",
                hours         = 0,
                miles         = 0,
                lunch         = 0,
                workPreferred = "N/A"
            };

            return(View("EmpJobEdit", vr));
        }