예제 #1
0
        public async Task <ActionResult <ICollection <Kind> > > GetAllAsync()
        {
            var result = await _kindService.GetAllAsync();

            return(Ok(result));
        }
예제 #2
0
        public async Task <IActionResult> GetAll()
        {
            var lines = await _kindService.GetAllAsync();

            return(Ok(lines));
        }
예제 #3
0
        public async Task <IActionResult> GetAllKinds()
        {
            var kinds = await _kindService.GetAllAsync();

            return(Ok(kinds));
        }