public ActionResult Index()
        {
            var model = new UsersViewModel();
            ViewBag.Title = "Users Page";
            UsersResponse response = _fps.GetUsers();
            model.Users = response.Users;

            return View(model);
        }
 public ActionResult Index()
 {
     var model = new UsersViewModel();
     ViewBag.Title = "Home Page";
     UsersResponse response = _fps.GetUsers();
     model.Users = response.Users;
     int users = 0;
     int images = 0;
     if (model.Users != null)
     {
         foreach (User user in model.Users)
         {
             if (user != null)
             {
                 users++;
                 images += user.NumberOfImagesMarked;
             }
         }
     }
     ViewBag.Users = users;
     ViewBag.Images = images;
     return View();
 }