public async Task <IActionResult> PutTms_RDCInformation(int id, Tms_RDCInformation tms_RDCInformation)
        {
            if (id != tms_RDCInformation.Rdcid)
            {
                return(BadRequest());
            }

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

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

            return(NoContent());
        }
        public async Task <ActionResult <Tms_RDCInformation> > PostTms_RDCInformation(Tms_RDCInformation tms_RDCInformation)
        {
            _context.Rdcinformation.Add(tms_RDCInformation);
            await _context.SaveChangesAsync();

            return(CreatedAtAction("GetTms_RDCInformation", new { id = tms_RDCInformation.Rdcid }, tms_RDCInformation));
        }