public async Task <IActionResult> PutVentureAssociateOption(Guid key, VentureAssociateOption ventureAssociateOption)
        {
            if (key != ventureAssociateOption.VentureAssociateOptionKey)
            {
                return(BadRequest());
            }

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

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

            return(NoContent());
        }
        public async Task <ActionResult <VentureAssociateOption> > PostVentureAssociateOption(VentureAssociateOption ventureAssociateOption)
        {
            _dbContext.VentureAssociateOption.Add(ventureAssociateOption);
            await _dbContext.SaveChangesAsync();

            return(CreatedAtAction("GetVentureAssociateOption", new { key = ventureAssociateOption.VentureAssociateOptionKey }, ventureAssociateOption));
        }