public async Task <IActionResult> PutTb07001Perfil(int id, Tb07001Perfil tb07001Perfil)
        {
            if (id != tb07001Perfil.PerfilId)
            {
                return(BadRequest());
            }

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

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

            return(NoContent());
        }
        public async Task <IActionResult> PutTb01008Usuarios([FromRoute] int id, [FromBody] Tb01008Usuarios tb01008Usuarios)
        {
            if (!ModelState.IsValid)
            {
                return(BadRequest(ModelState));
            }

            if (id != tb01008Usuarios.UsuarioId)
            {
                return(BadRequest());
            }

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

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

            return(NoContent());
        }