public async Task <IActionResult> PutUserLoginAttemptHistory(int id, UserLoginAttemptHistory userLoginAttemptHistory)
        {
            if (id != userLoginAttemptHistory.UserLoginAttemptHistoryId)
            {
                return(BadRequest());
            }

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

            try
            {
                await _context.SaveChangesAsync();
            }
            catch (DbUpdateConcurrencyException)
            {
                if (!UserLoginAttemptHistoryExists(id))
                {
                    return(NotFound());
                }
                else
                {
                    throw;
                }
            }

            return(NoContent());
        }
        public async Task <ActionResult <UserLoginAttemptHistory> > PostUserLoginAttemptHistory(UserLoginAttemptHistory userLoginAttemptHistory)
        {
            _context.UserLoginAttemptHistory.Add(userLoginAttemptHistory);
            await _context.SaveChangesAsync();

            return(CreatedAtAction("GetUserLoginAttemptHistory", new { id = userLoginAttemptHistory.UserLoginAttemptHistoryId }, userLoginAttemptHistory));
        }