public ActionResult UpdateViewsCount(string storeItemId) { try { StoreGateway sg = new StoreGateway(); bool done = sg.UpdateStoreItemViewCount(Convert.ToInt64(storeItemId)); return Json(new { success = done }, JsonRequestBehavior.AllowGet); } catch (Exception exception) { ErrorDatabaseManager.AddException(exception, exception.GetType()); } return Json(new { answer = false }, JsonRequestBehavior.AllowGet); }