public async Task <IActionResult> PutCientificos(string id, Cientificos cientificos)
        {
            if (id != cientificos.Dni)
            {
                return(BadRequest());
            }

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

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

            return(NoContent());
        }
        public async Task <ActionResult <Cientificos> > PostCientificos(Cientificos cientificos)
        {
            _context.Cientificos.Add(cientificos);
            try
            {
                await _context.SaveChangesAsync();
            }
            catch (DbUpdateException)
            {
                if (CientificosExists(cientificos.Dni))
                {
                    return(Conflict());
                }
                else
                {
                    throw;
                }
            }

            return(CreatedAtAction("GetCientificos", new { id = cientificos.Dni }, cientificos));
        }