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

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

            _context.RDLab_HaierHYC6102c8c.Remove(rDLab_HaierHYC6102c8c);
            _context.SaveChanges();
            return(Ok(rDLab_HaierHYC6102c8c));
        }