Esempio n. 1
0
        public async Task ModificarLacteo([Service] IngredientesRepository repo,
                                          [Service] ITopicEventSender eventSender, int idLacteo, String nombre, bool alergeno)
        {
            Lacteo editLacteo = await repo.ModificarLacteoAsync(idLacteo, nombre, alergeno);

            await eventSender.SendAsync("Guardado Lacteo", editLacteo);
        }