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

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

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