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

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

            _context.MGILibConstLab_Fridge.Remove(mGILibConstLab_Fridge);
            _context.SaveChanges();
            return(Ok(mGILibConstLab_Fridge));
        }