public async Task SeedAsync() { if (await _giftRepository.GetCountAsync() == 0) { await _giftRepository.InsertAsync(new Gift(_guidGenerator.Create(), "test"), true); } }
public async Task SeedAsync() { if (await _giftRepository.GetCountAsync() == 0) { await _giftRepository.InsertAsync(new Gift(_guidGenerator.Create(), "test"), true); } }