Example #1
0
        public async Task <IHttpActionResult> GetSkillById(string skillId)
        {
            var result = await _skillsService.GetSkillByIdAsync(skillId);

            if (result != null)
            {
                return(Ok(result));
            }
            return(new StatusCodeResult(HttpStatusCode.NoContent, Request));
        }