public HomeController(IBreadRepository breadRepository)
 {
     _breadRepository = breadRepository;
 }
예제 #2
0
 public BreadController(IBreadRepository breadRepository, IProductRepository productRepository, IRatingRepository ratingRepository)
 {
     _breadRepository   = breadRepository;
     _productRepository = productRepository;
     _ratingRepository  = ratingRepository;
 }
예제 #3
0
 public RatingController(IRatingRepository ratingRepository, IBreadRepository breadRepository)
 {
     _ratingRepository = ratingRepository;
     _breadRepository  = breadRepository;
 }
예제 #4
0
 public BreadController(IBreadRepository breadRepository, ICategoryRepository categoryRepository)
 {
     _breadRepository    = breadRepository;
     _categoryRepository = categoryRepository;
 }