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

            await _context.SaveChangesAsync();
        }
Beispiel #2
0
        public async Task AddAsync(User user)
        {
            await _context.Users.AddAsync(user);

            await _context.SaveChangesAsync();
        }
Beispiel #3
0
        public async Task AddAsync(Reservation reservation)
        {
            await _context.Reservations.AddAsync(reservation);

            await _context.SaveChangesAsync();
        }
Beispiel #4
0
        public async Task AddAsync(Animal animal)
        {
            await _context.Animals.AddAsync(animal);

            await _context.SaveChangesAsync();
        }