public async Task <IActionResult> PutAccountWyrmprint(int wyrmprintID, AccountWyrmprintDTO accountWyrmprintDTO)
        {
            var accountID = await GetAccountID();

            var accountWyrmprint = await _context.AccountWyrmprints.FindAsync(accountID, wyrmprintID);

            accountWyrmprint.Unbind               = accountWyrmprintDTO.Unbind;
            accountWyrmprint.UnbindWanted         = accountWyrmprintDTO.UnbindWanted;
            accountWyrmprint.Copies               = accountWyrmprintDTO.Copies;
            accountWyrmprint.CopiesWanted         = accountWyrmprintDTO.CopiesWanted;
            accountWyrmprint.WyrmprintLevel       = accountWyrmprintDTO.WyrmprintLevel;
            accountWyrmprint.WyrmprintLevelWanted = accountWyrmprintDTO.WyrmprintLevelWanted;

            _context.Entry(accountWyrmprint).State = EntityState.Modified;

            try
            {
                await _context.SaveChangesAsync();
            }
            catch (DbUpdateConcurrencyException) when(!AccountWyrmprintExists(accountID, wyrmprintID))
            {
                return(NotFound());
            }

            return(NoContent());
        }
        public async Task <ActionResult <AccountWyrmprint> > PostAccountWyrmprint(AccountWyrmprintDTO accountWyrmprintDTO)
        {
            var accountID = await GetAccountID();

            var accountWyrmprint = _mapper.Map <AccountWyrmprint>(accountWyrmprintDTO);

            accountWyrmprint.AccountId = accountID;

            _context.AccountWyrmprints.Add(accountWyrmprint);
            try
            {
                await _context.SaveChangesAsync();
            }
            catch (DbUpdateException) when(AccountWyrmprintExists(accountID, accountWyrmprint.WyrmprintId))
            {
                return(Conflict());
            }

            return(CreatedAtAction(
                       nameof(GetAccountWyrmprint),
                       new { accountID = accountWyrmprint.AccountId, WyrmprintID = accountWyrmprint.WyrmprintId },
                       _mapper.Map <AccountWyrmprintDTO>(accountWyrmprint)));
        }