public ActionResult Index() { using (var context = _contextFactory.CreateDataContext()) { var users = context .Find(UserSpecs.GetUsers()) .ToList(); return(View(new UsersViewModel(users))); } }