Skip to content

Commit b9d6309

Browse files
committed
Update BookStoreDataSeederContributor.cs
1 parent fa66f14 commit b9d6309

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

src/BookStore.Domain/BookStoreDataSeederContributor.cs

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
using System;
22
using System.Threading.Tasks;
33
using BookStore.Authors;
4-
using BookStore.Books;
54
using BookStore.Categories;
65
using Volo.Abp.Data;
76
using Volo.Abp.DependencyInjection;
@@ -15,19 +14,16 @@ public class BookStoreDataSeederContributor : IDataSeedContributor, ITransientDe
1514
private readonly IGuidGenerator _guidGenerator;
1615
private readonly IRepository<Category, Guid> _categoryRepository;
1716
private readonly IRepository<Author, Guid> _authorRepository;
18-
private readonly BookManager _bookManager;
1917

2018
public BookStoreDataSeederContributor(
2119
IGuidGenerator guidGenerator,
2220
IRepository<Category, Guid> categoryRepository,
23-
IRepository<Author, Guid> authorRepository,
24-
BookManager bookManager
21+
IRepository<Author, Guid> authorRepository
2522
)
2623
{
2724
_guidGenerator = guidGenerator;
2825
_categoryRepository = categoryRepository;
2926
_authorRepository = authorRepository;
30-
_bookManager = bookManager;
3127
}
3228

3329
public async Task SeedAsync(DataSeedContext context)

0 commit comments

Comments
 (0)