예제 #1
0
        public async Task <IActionResult> UpdateSkill(int SkillId, Skill skill)
        {
            try
            {
                var res = await _service.UpdateSkills(SkillId, skill);

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