コード例 #1
0
        public IActionResult GetAllProjectComponents(int id)
        {
            var components = _componentRepository.GetAllByProject(id);

            if (components != null)
            {
                return(Ok(components));
            }
            return(NotFound());
        }