protected override bool OnValidate()
        {
            _lootBoxClaim = LootBoxClaim.Query.SingleOrDefault(r => r.Id == Id);
            if (_lootBoxClaim == null)
            {
                AddMessage(Message.GLOBAL, new Message("Loot Box Claim does not exist", MessageTypes.Error));
                return(false);
            }

            return(true);
        }
        protected override void OnSubmit()
        {
            using (var conn = new NTGDBTransactional())
            {
                var claim = new LootBoxClaim();
                claim.Email     = Email;
                claim.FirstName = FirstName;
                claim.LastName  = LastName;
                claim.Date      = DateTime.UtcNow;
                claim.Save(conn);

                _pageModule.LootBox = false;
                _pageModule.Save(conn);
                conn.Commit();

                AddMessage(Message.GLOBAL, new Message("Congratulations!!! You have claimed this loot box!", MessageTypes.Success));
            }
        }