コード例 #1
0
        public IActionResult GetByManagerId(int managerId)
        {
            var listOfJobs = _jobRepository.GetByManagerId(managerId);

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