public async Task <IActionResult> PutTblQualification([FromRoute] int id, [FromBody] TblQualification tblQualification)
        {
            if (!ModelState.IsValid)
            {
                return(BadRequest(ModelState));
            }

            if (id != tblQualification.QualificationID)
            {
                return(BadRequest());
            }

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

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

            return(NoContent());
        }
        public async Task <IActionResult> PostTblQualification([FromBody] TblQualification tblQualification)
        {
            if (!ModelState.IsValid)
            {
                return(BadRequest(ModelState));
            }

            _context.TblQualifications.Add(tblQualification);
            await _context.SaveChangesAsync();

            return(CreatedAtAction("GetTblQualification", new { id = tblQualification.QualificationID }, tblQualification));
        }