Exemplo n.º 1
0
        public async Task <ActionResult <ICollection <Kind> > > GetAllAsync()
        {
            var result = await _kindService.GetAllAsync();

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

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

            return(Ok(kinds));
        }