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

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

            _context.RDLab_ThermoScientificMyspin12.Remove(rDLab_ThermoScientificMyspin12);
            _context.SaveChanges();
            return(Ok(rDLab_ThermoScientificMyspin12));
        }