public async Task <IActionResult> PutCertificationScheme(string id, CertificationScheme certificationScheme)
        {
            if (id != certificationScheme.name)
            {
                return(BadRequest());
            }

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

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

            return(NoContent());
        }
        public async Task <ActionResult <CertificationScheme> > PostCertificationScheme(CertificationScheme certificationScheme)
        {
            _context.CertificationSchemes.Add(certificationScheme);
            try
            {
                await _context.SaveChangesAsync();
            }
            catch (DbUpdateException)
            {
                if (CertificationSchemeExists(certificationScheme.name))
                {
                    return(Conflict());
                }
                else
                {
                    throw;
                }
            }

            return(CreatedAtAction("GetCertificationScheme", new { id = certificationScheme.name }, certificationScheme));
        }