public IActionResult Update([FromBody] CrudViewModel <ONTSeqLab_DellDeskComp> payload)
        {
            ONTSeqLab_DellDeskComp oNTSeqLab_DellDeskComp = payload.value;

            _context.ONTSeqLab_DellDeskComp.Update(oNTSeqLab_DellDeskComp);
            _context.SaveChanges();
            return(Ok(oNTSeqLab_DellDeskComp));
        }
        public IActionResult Remove([FromBody] CrudViewModel <ONTSeqLab_DellDeskComp> payload)
        {
            ONTSeqLab_DellDeskComp oNTSeqLab_DellDeskComp = _context.ONTSeqLab_DellDeskComp
                                                            .Where(x => x.LogId == (long)payload.key)
                                                            .FirstOrDefault();

            _context.ONTSeqLab_DellDeskComp.Remove(oNTSeqLab_DellDeskComp);
            _context.SaveChanges();
            return(Ok(oNTSeqLab_DellDeskComp));
        }