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

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

            _context.ONTSeqLab_Centrifuge5424.Remove(oNTSeqLab_Centrifuge5424);
            _context.SaveChanges();
            return(Ok(oNTSeqLab_Centrifuge5424));
        }