Example #1
0
 public OrderController(IOrderRepository orderRepository, ICrustRepository crustRepository, ISizeRepository sizeRepository,
                        IToppingsRepository toppingsRepository, IStoreRepository storeRepository)
 {
     _orderRepository    = orderRepository;
     _crustRepository    = crustRepository;
     _sizeRepository     = sizeRepository;
     _toppingsRepository = toppingsRepository;
     _storeRepository    = storeRepository;
 }
Example #2
0
 public ToppingsController(ILogger <ToppingsController> logger, IToppingsRepository toppingsRepository)
 {
     Logger             = logger;
     ToppingsRepository = toppingsRepository;
 }