Пример #1
0
        public IActionResult GetById(Guid id)
        {
            var level = specialisationLevelService.GetById(id);

            if (level == null)
            {
                return(NotFound());
            }
            return(Ok(level));
        }
Пример #2
0
        public IActionResult Get(Guid id)
        {
            var sl = specLevelService.GetById(id);

            if (sl == null)
            {
                return(Ok("helloworld"));
            }
            return(Ok(sl));
        }
Пример #3
0
        public IActionResult Get(Guid id)
        {
            var sl = specLevelService.GetById(id);

            if (sl == null)
            {
                return(NotFound());
            }
            return(Ok(sl));
        }