public ActionResult Gallery(IEnumerable <HttpPostedFileBase> files)
 {
     Models.User u = new Models.User();
     u = u.GetUserSession();
     foreach (var file in files)
     {
         u.AddGalleryImage(file);
     }
     return(Json("file(s) uploaded successfully"));
 }