public async Task <IActionResult> PutVentureAppointment(Guid key, VentureAppointment VentureAppointment)
        {
            if (key != VentureAppointment.VentureAppointmentKey)
            {
                return(BadRequest());
            }

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

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

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

            return(CreatedAtAction("GetVentureAppointment", new { key = VentureAppointment.VentureAppointmentKey }, VentureAppointment));
        }