示例#1
0
 public ShoeController(IShoeRepository shoeRepository, ICategoryRepository categoryRepository,
                       IBrandRepository brandRepository, IServiceProvider services
                       , IRatingEntryRepository ratingEntryRepository)
 {
     this.shoeRepository        = shoeRepository;
     this.services              = services;
     this.ratingEntryRepository = ratingEntryRepository;
 }
 public RatingCount(IRatingEntryRepository ratingEntryRepository)
 {
     this.ratingEntryRepository = ratingEntryRepository;
 }
 public ShoeRatingController(IRatingEntryRepository ratingEntryRepository, IServiceProvider services)
 {
     this.ratingEntryRepository = ratingEntryRepository;
     this.services = services;
 }