public async Task AddAsync(Species species)
        {
            await _context.Species.AddAsync(species);

            await _context.SaveChangesAsync();
        }
Exemplo n.º 2
0
        public async Task AddAsync(User user)
        {
            await _context.Users.AddAsync(user);

            await _context.SaveChangesAsync();
        }
Exemplo n.º 3
0
        public async Task AddAsync(Reservation reservation)
        {
            await _context.Reservations.AddAsync(reservation);

            await _context.SaveChangesAsync();
        }
Exemplo n.º 4
0
        public async Task AddAsync(Animal animal)
        {
            await _context.Animals.AddAsync(animal);

            await _context.SaveChangesAsync();
        }