Ejemplo n.º 1
0
        public async Task <ActionResult <Interaction> > RequestRandomInteractionWithNames(DogNamePair dogNames)
        {
            Interaction randomResult = await _interactionService.GetRandomInteraction();

            randomResult = _interactionService.AddNamesToInteraction(randomResult, dogNames);
            return(Ok(randomResult));
        }