Esempio n. 1
0
        public async Task <Lacteo> LacteoById([Service] IngredientesRepository repo, [Service] ITopicEventSender eventSender, int id)
        {
            Lacteo lacteoId = repo.GetLacteoId(id);
            await eventSender.SendAsync("RetornaLacteo", lacteoId);

            return(lacteoId);
        }