public async Task <IActionResult> PutUserSkillLibraryModel(UserSkillLibraryModel Model)
        {
            int id = Model.SKillLibraryId;

            if (id != Model.SKillLibraryId)
            {
                return(BadRequest());
            }

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

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

            return(NoContent());
        }
        public async Task <ActionResult <UserSkillLibraryModel> > PostUserSkillLibraryModel(UserSkillLibraryModel addModel)
        {
            try
            {
                _context.UserSkillLibraryModels.Add(addModel);
                await _context.SaveChangesAsync();

                return(CreatedAtAction("GetUserSkillLibraryModel", new { id = addModel.SKillLibraryId }, addModel));
            }
            catch (System.Exception exe)
            {
                return(BadRequest(exe.Message));
            }
        }