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