public async Task <IActionResult> PutEoperationModeChanges(long id, EoperationModeChanges eoperationModeChanges)
        {
            if (id != eoperationModeChanges.EoperationModeChangesId)
            {
                return(BadRequest());
            }

            _context.Entry(eoperationModeChanges).State = EntityState.Modified;

            try
            {
                await _context.SaveChangesAsync();
            }
            catch (DbUpdateConcurrencyException)
            {
                if (!EoperationModeChangesExists(id))
                {
                    return(NotFound());
                }
                else
                {
                    throw;
                }
            }

            return(NoContent());
        }
        public async Task <ActionResult <EoperationModeChanges> > PostEoperationModeChanges(EoperationModeChanges eoperationModeChanges)
        {
            _context.EoperationModeChanges.Add(eoperationModeChanges);
            try
            {
                await _context.SaveChangesAsync();
            }
            catch (DbUpdateException)
            {
                if (EoperationModeChangesExists(eoperationModeChanges.EoperationModeChangesId))
                {
                    return(Conflict());
                }
                else
                {
                    throw;
                }
            }

            return(CreatedAtAction("GetEoperationModeChanges", new { id = eoperationModeChanges.EoperationModeChangesId }, eoperationModeChanges));
        }