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)); }
public ActionResult UserActivityLog() { ViewBag.UserId = new SelectList(dbUser.GetAllUsers().ToList(), "UserId", "UserName"); return(View()); }