public JsonResult Delete(string id)
        {
            var noti = FunctionHelper.GetLocalizeDictionary("Home", "notification");
            var obj  = _itblCardService.GetById(Guid.Parse(id));

            if (obj == null)
            {
                var result1 = new MessageReport();
                result1.Message   = noti["card_does_not_exist_in_the_system"];
                result1.isSuccess = false;
                return(Json(result1, JsonRequestBehavior.AllowGet));
            }
            // check trong sự kiện
            var existedInEvent = _tblCardEvenService.GetAllByCardNumber(obj.CardNumber);

            if (existedInEvent.Any())
            {
                var result1 = new MessageReport();
                result1.Message   = noti["card_is_existing_in_the_event"];
                result1.isSuccess = false;
                return(Json(result1, JsonRequestBehavior.AllowGet));
            }

            var result = _itblCardService.DeleteById(id);

            return(Json(result, JsonRequestBehavior.AllowGet));
        }