Ejemplo n.º 1
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());
        }
Ejemplo n.º 2
0
        // GET: Client
        public ActionResult Index()
        {
            var result = ClientLoader.GetAll();

            return(View(result));
        }