public IActionResult Insert([FromBody] CrudViewModel <MGILibConstLab_ThermalCycler> payload)
        {
            MGILibConstLab_ThermalCycler mGILibConstLab_ThermalCycler = payload.value;

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

            _context.MGILibConstLab_ThermalCycler.Remove(mGILibConstLab_ThermalCycler);
            _context.SaveChanges();
            return(Ok(mGILibConstLab_ThermalCycler));
        }