public HomeController(IBreadRepository breadRepository) { _breadRepository = breadRepository; }
public BreadController(IBreadRepository breadRepository, IProductRepository productRepository, IRatingRepository ratingRepository) { _breadRepository = breadRepository; _productRepository = productRepository; _ratingRepository = ratingRepository; }
public RatingController(IRatingRepository ratingRepository, IBreadRepository breadRepository) { _ratingRepository = ratingRepository; _breadRepository = breadRepository; }
public BreadController(IBreadRepository breadRepository, ICategoryRepository categoryRepository) { _breadRepository = breadRepository; _categoryRepository = categoryRepository; }