public HomeController(IBreadRepository breadRepository)
 {
     _breadRepository = breadRepository;
 }
Exemplo n.º 2
0
 public BreadController(IBreadRepository breadRepository, IProductRepository productRepository, IRatingRepository ratingRepository)
 {
     _breadRepository   = breadRepository;
     _productRepository = productRepository;
     _ratingRepository  = ratingRepository;
 }
Exemplo n.º 3
0
 public RatingController(IRatingRepository ratingRepository, IBreadRepository breadRepository)
 {
     _ratingRepository = ratingRepository;
     _breadRepository  = breadRepository;
 }
Exemplo n.º 4
0
 public BreadController(IBreadRepository breadRepository, ICategoryRepository categoryRepository)
 {
     _breadRepository    = breadRepository;
     _categoryRepository = categoryRepository;
 }