Пример #1
0
        public async Task <IActionResult> GetPatternByIDAsync(int patternID)
        {
            var pattern = await _projectBL.GetPatternByIDAsync(patternID);

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