Example #1
0
        public async Task <IActionResult> CreateSkill(Skill skill)
        {
            try
            {
                var response = await _service.CreateNewSkills(skill);

                if (response != null)
                {
                    return(Ok(response));
                }
                return(StatusCode(StatusCodes.Status204NoContent));
            }
            catch (Exception ex)
            {
                throw ex;
            }
        }