Пример #1
0
 public OrderController(IOrderAppService orderAppService,
                         ITableServiceAppService tableServiceAppService,
                         IDishAppService dishAppService,
                         IOptionAppService optionAppService,
                         ICategoryAppService categoryAppService)
 {
     this.orderAppService = orderAppService;
     this.tableServiceAppService = tableServiceAppService;
     this.dishAppService = dishAppService;
     this.optionAppService = optionAppService;
     this.categoryAppService = categoryAppService;
 }
Пример #2
0
 public DishController(IDishAppService dishAppService, ICategoryAppService categoryAppService)
 {
     this.dishAppService = dishAppService;
     this.categoryAppService = categoryAppService;
 }
Пример #3
0
 public DishController(IDishAppService dishAppService)
 {
     _dishAppService = dishAppService;
 }
Пример #4
0
 public DishController(IDishAppService appService)
 {
     _appService = appService;
 }
Пример #5
0
 public DishTest()
 {
     _appService             = Resolve <IDishAppService>();
     _foodMaterialAppService = Resolve <IFoodMaterialAppService>();
 }
 public DishController(IDishAppService app) : base(app)
 {
 }