示例#1
0
 public OrderSessionController(IOrderSessionService orderSessionService)
 {
     this.OrderSessionService = orderSessionService;
 }
 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;
 }