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

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

            _context.ONTLibConstLab_MicroLabNGSSTAR.Remove(oNTLibConstLab_MicroLabNGSSTAR);
            _context.SaveChanges();
            return(Ok(oNTLibConstLab_MicroLabNGSSTAR));
        }