public ActionResult EditBox(Box box)
 {
     if (ModelState.IsValid)
     {
         boxesRepository.SaveBox(box);
         TempData["message"] = string.Format("Zapisano {0} ", box.Name);
         return(RedirectToAction("BoxesList"));
     }
     else
     {
         return(View(box));
     }
 }