コード例 #1
0
 public OrderController(IRecipeService service, IMemoryCache cache, OrderRepository orderRepository, OrderDeploymentService orderDeploymentService)
 {
     _service           = service;
     _orderRepository   = orderRepository;
     _deploymentService = orderDeploymentService;
     _cache             = cache;
 }
コード例 #2
0
 public DashboardController(OrderRepository orderRepository,
                            OrderDeploymentService deploymentService,
                            DashBoardInformationService dashBoardInformationService,
                            IMemoryCache cache)
 {
     _orderRepo            = orderRepository;
     _deploymentService    = deploymentService;
     _dashboardInfoService = dashBoardInformationService;
     _cache = cache;
 }