コード例 #1
0
        public async Task <IActionResult> GetLocation(int id)
        {
            var roadMapService = new ListWorkPackageService(_context);

            return(new ObjectResult(await roadMapService.GetLocationAsycn(id)));
        }
コード例 #2
0
        public async Task <IActionResult> GetWorkPackages()
        {
            var roadMapService = new ListWorkPackageService(_context);

            return(new ObjectResult(await roadMapService.GetRoadMapsAsync()));
        }