Esempio n. 1
0
        public async Task <ActionResult <IEnumerable <ReactionResponse> > > GetAll()
        {
            var reactions = await _reactionService.GetAll();

            return(Ok(reactions));
        }
Esempio n. 2
0
        public async Task <IActionResult> GetAll()
        {
            List <Reaction> reactions = await _reactionService.GetAll();

            return(Ok(reactions));
        }