public async Task <IActionResult> PutTpPeople(Guid id, TpPeople tpPeople)
        {
            if (id != tpPeople.PeplId)
            {
                return(BadRequest());
            }

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

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

            return(NoContent());
        }
        public async Task <ActionResult <TpPeople> > PostTpPeople(TpPeople tpPeople)
        {
            _context.TpPeople.Add(tpPeople);
            await _context.Database.ExecuteSqlRawAsync("tpsrv_logon", new SqlParameter("@Login", "sa"), new SqlParameter("@Password", "tillypad"));

            await _context.SaveChangesAsync();

            return(CreatedAtAction("GetTpPeople", new { id = tpPeople.PeplId }, tpPeople));
        }