コード例 #1
0
ファイル: KindController.cs プロジェクト: Ivopes/EriaProject
        public async Task <ActionResult <ICollection <Kind> > > GetAllAsync()
        {
            var result = await _kindService.GetAllAsync();

            return(Ok(result));
        }
コード例 #2
0
ファイル: KindController.cs プロジェクト: SyPham/DMRS
        public async Task <IActionResult> GetAll()
        {
            var lines = await _kindService.GetAllAsync();

            return(Ok(lines));
        }
コード例 #3
0
ファイル: KindsController.cs プロジェクト: mrnamcpvn/AuditV3
        public async Task <IActionResult> GetAllKinds()
        {
            var kinds = await _kindService.GetAllAsync();

            return(Ok(kinds));
        }