// GET: Brunch public ActionResult Index() { List <BrunchViewModel> x = BrunchLoader.GetBrunches(); return(View(x)); }
// 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()); }
// GET: Staff/Edit/5 public ActionResult Edit(int id) { ViewBag.Positions = PositionLoader.GetAll(); ViewBag.Brunches = BrunchLoader.GetBrunches(); return(View()); }
// GET: Staff/Create public ActionResult Create() { ViewBag.Positions = PositionLoader.GetAll(); ViewBag.Brunches = BrunchLoader.GetBrunches(); return(View()); }