Exemplo n.º 1
0
 public OrderSessionController(IOrderSessionService orderSessionService)
 {
     this.OrderSessionService = orderSessionService;
 }
Exemplo n.º 2
0
 public OrderService(RestaurantDbContext dbContext, IStatusService statusService, IUserService userService, IOrderSessionService orderSessionService, IOptions <PagingConfiguration> pagingConfig)
 {
     this.DbContext           = dbContext;
     this.StatusService       = statusService;
     this.UserService         = userService;
     this.OrderSessionService = orderSessionService;
     this.PagingConfig        = pagingConfig.Value;
 }