public HomeController(IRockRepository rockRepository)
 {
     _rockRepository = rockRepository;
 }
예제 #2
0
 public RockController(IRockRepository rockRepository, IHostingEnvironment hostingEnvironment)
 {
     _rockRepository     = rockRepository;
     _hostingEnvironment = hostingEnvironment;
 }
예제 #3
0
 public ShopController(IRockRepository rockRepository)
 {
     _rockRepository = rockRepository;
 }
 public ShoppingCartController(IRockRepository rockRepository, ShoppingCart shoppingCart)
 {
     _rockRepository = rockRepository;
     _shoppingCart   = shoppingCart;
 }