Exemplo n.º 1
0
        private async Task SaveAll(IEnumerable <Set> sets, IEnumerable <Rol> rols, IEnumerable <Sushi> sushi, IEnumerable <Pizza> pizza)
        {
            await _setRepository.AddRange(sets);

            await _rolRepository.AddRange(rols);

            await _sushiRepository.AddRange(sushi);

            await _pizzaRepository.AddRange(pizza);
        }