public ActionResult AddOrder()
        {
            OrderVM ovm = new OrderVM
            {
                Order    = new Order(),
                AppUsers = aRep.GetActives(),
                Shippers = sRep.GetActives()
            };

            return(View(ovm));
        }
Exemple #2
0
        // GET: Panel/User
        public ActionResult UserList()
        {
            AppUserVM apvm = new AppUserVM
            {
                AppUsers     = _uRep.GetActives(),
                UserProfiles = _upRep.GetActives()
            };

            return(View(apvm));
        }
 public ActionResult List()
 {
     return(View(arep.GetActives()));
 }
 void LoadListBox()
 {
     lstAppUsers.DataSource    = appUserRepository.GetActives();
     lstAppUsers.SelectedIndex = -1;
 }