// GET: Admin/UserRight public ActionResult Index() { IEnumerable<AspUserRight> datas = _service.Get().Select(u=> new AspUserRight(u)); return View(datas); }
public IEnumerable <AspUser> Get() { return(_repo.Get().Select(userGlobal => userGlobal.ToClient())); }