public async Task <IActionResult> PutAssociateTimeRecurring(Guid key, AssociateTimeRecurring AssociateTimeRecurring)
        {
            if (key != AssociateTimeRecurring.AssociateTimeRecurringKey)
            {
                return(BadRequest());
            }

            _dbContext.Entry(AssociateTimeRecurring).State = EntityState.Modified;

            try
            {
                await _dbContext.SaveChangesAsync();
            }
            catch (DbUpdateConcurrencyException)
            {
                if (!AssociateTimeRecurringExists(key))
                {
                    return(NotFound());
                }
                else
                {
                    throw;
                }
            }

            return(NoContent());
        }
        public async Task <ActionResult <AssociateTimeRecurring> > PostAssociateTimeRecurring(AssociateTimeRecurring AssociateTimeRecurring)
        {
            _dbContext.AssociateTimeRecurring.Add(AssociateTimeRecurring);
            await _dbContext.SaveChangesAsync();

            return(CreatedAtAction("GetAssociateTimeRecurring", new { key = AssociateTimeRecurring.AssociateTimeRecurringKey }, AssociateTimeRecurring));
        }