コード例 #1
0
        public ActionResult Admin(string status, string locationType)
        {
            ViewBag.LocationType = locationType;
            ViewBag.Status = status;

            using (var provider = new ProgramProvider())
            {
                var programs = provider.GetForAdmin(status, locationType);

                return View(programs);
            }
        }