public ActionResult UserIndex()
        {
            var reqUser = dbUser.GetAllUsers();

            reqUser.Select(x => x.SMIM_UserType_ST = dbUser.getUserTypebyId(x.UserTypeId == null ? 0 : x.UserTypeId.Value)).ToList();
            return(View(reqUser));
        }
예제 #2
0
 public ActionResult UserActivityLog()
 {
     ViewBag.UserId = new SelectList(dbUser.GetAllUsers().ToList(), "UserId", "UserName");
     return(View());
 }