Beispiel #1
0
        public IActionResult CreateNewSkill(SkillCreateModel skillCreateModel)
        {
            if (skillCreateModel == null)
            {
                return(BadRequest("Incorrect Parameter"));
            }
            bool check = _skillLogic.CreateNewSkill(skillCreateModel);

            if (!check)
            {
                return(BadRequest("Create Error"));
            }

            return(Ok("Create Skill Success"));
        }