示例#1
0
 // GET: Staff/Edit/5
 public ActionResult Edit(int id)
 {
     ViewBag.Positions = PositionLoader.GetAll();
     ViewBag.Brunches  = BrunchLoader.GetBrunches();
     return(View());
 }
示例#2
0
        // GET: Position

        public ActionResult Index()
        {
            var positions = PositionLoader.GetAll();

            return(View(positions));
        }
示例#3
0
 // GET: Staff/Create
 public ActionResult Create()
 {
     ViewBag.Positions = PositionLoader.GetAll();
     ViewBag.Brunches  = BrunchLoader.GetBrunches();
     return(View());
 }