public ActionResult SaveUploadPhoto() { var model = Session["Uploads"] as PhotoUploadListModel; try { _photoService.AddMany(model.Uploads.ToArray()); Session["Uploads"] = null; return(RedirectToAction("PhotoIndex")); } catch (Exception exception) { Log.RegisterError(exception); return(PartialView("~/Views/Management/_Upload.cshtml", model)); } }