public async Task <ActionResult <VentureOption> > PostVentureOption(VentureOption ventureOption)
        {
            _dbContext.VentureOption.Add(ventureOption);
            await _dbContext.SaveChangesAsync();

            return(CreatedAtAction("GetVentureOption", new { key = ventureOption.VentureOptionKey }, ventureOption));
        }
        public async Task <IActionResult> PutVentureOption(Guid key, VentureOption ventureOption)
        {
            if (key != ventureOption.VentureOptionKey)
            {
                return(BadRequest());
            }

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

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

            return(NoContent());
        }