public CategoryService( IAsyncRepository <Category> repository, IImageNameGenerator generator, IPaginationMaker maker) { this.repository = repository; this.generator = generator; this.maker = maker; }
public ImageService( IAsyncRepository <Category> categoryRepo, IImageRepository imageRepo, IImageNameGenerator generator, IPaginationMaker maker, IAsyncRepository <Comment> commentRepo) { this.categoryRepo = categoryRepo; this.imageRepo = imageRepo; this.generator = generator; this.pgMaker = maker; this.commentRepo = commentRepo; }