public async Task <IActionResult> PutRecepcionistaModel(string id, RecepcionistaModel recepcionistaModel)
        {
            if (id != recepcionistaModel.Identificacion)
            {
                return(BadRequest());
            }

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

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

            return(NoContent());
        }
        public async Task <ActionResult <RecepcionistaModel> > PostRecepcionistaModel(RecepcionistaModel recepcionistaModel)
        {
            _context.Recepcionistas.Add(recepcionistaModel);
            try
            {
                await _context.SaveChangesAsync();
            }
            catch (DbUpdateException)
            {
                if (RecepcionistaModelExists(recepcionistaModel.Identificacion))
                {
                    return(Conflict());
                }
                else
                {
                    throw;
                }
            }

            return(CreatedAtAction("GetRecepcionistaModel", new { id = recepcionistaModel.Identificacion }, recepcionistaModel));
        }