コード例 #1
0
        // GET: Brunch
        public ActionResult Index()
        {
            List <BrunchViewModel> x = BrunchLoader.GetBrunches();


            return(View(x));
        }
コード例 #2
0
        // GET: Orders/Edit/5
        public ActionResult Edit(int id)
        {
            ViewBag.Staff    = StaffLoader.GetAll();
            ViewBag.Gifts    = GiftsLoader.GetGifts();
            ViewBag.Brunches = BrunchLoader.GetBrunches();
            ViewBag.Clients  = ClientLoader.GetAll();

            return(View());
        }
コード例 #3
0
 // GET: Staff/Edit/5
 public ActionResult Edit(int id)
 {
     ViewBag.Positions = PositionLoader.GetAll();
     ViewBag.Brunches  = BrunchLoader.GetBrunches();
     return(View());
 }
コード例 #4
0
 // GET: Staff/Create
 public ActionResult Create()
 {
     ViewBag.Positions = PositionLoader.GetAll();
     ViewBag.Brunches  = BrunchLoader.GetBrunches();
     return(View());
 }