示例#1
0
        // GET: User
        public ActionResult Index()
        {
            var data = userRepository.GetAll();

            return(View(data));
        }
示例#2
0
 public IQueryable <UserMaster> GetAll()
 {
     return(userMasterRepository.GetAll().Where(x => x.IsActive == true));
 }