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

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

            _context.RoboticsLab_DellDeskComp.Remove(roboticsLab_DellDeskComp);
            _context.SaveChanges();
            return(Ok(roboticsLab_DellDeskComp));
        }