public ActionResult AddToBookmarks(LotInfo lotInfo)
 {
     var lotid = Convert.ToInt32(Request.Cookies["LotId"].Value);
     var message = new DataAccess().AddToBookmarks(lotid, HttpContext.User.Identity.Name);
     return RedirectToAction("Index", new { id = lotid, @errormsg = message });
 }
 public ActionResult RestoreLot(LotInfo lotInfo)
 {
     var lotid = Convert.ToInt32(Request.Cookies["LotId"].Value);
     var message = new DataAccess().RestoreLot(lotid);
     return RedirectToAction("Index", new { id = lotid, @errormsg=message });
 }