public ActionResult AddReview(AddReviewVM data, HttpPostedFileBase file)
 {
     data.GameReview.ReviewDate = DateTime.Now;
     if (data.GameReview.Game.GameCover == null)
     {
         data.GameReview.Game.GameCover = new GameCover();
     }
     try
     {
         if (file.ContentLength > 0)
         {
             var fileName = Path.GetFileName(file.FileName);
             var path     = Path.Combine(Server.MapPath("~/imgs/"), fileName);
             data.GameReview.Game.GameCover.GameCoverUrl = "imgs/" + fileName;
             file.SaveAs(path);
         }
     } catch
     {
         data.GameReview.Game.GameCover.GameCoverUrl = "imgs/default.png";
         _repo.ContributorAddReview(data.GameReview);
         return(RedirectToAction("Index", "Reviews"));
     }
     _repo.ContributorAddReview(data.GameReview);
     return(RedirectToAction("Index", "Reviews"));
 }