Example #1
0
 public AccountController(
     IAccountService accountService,
     ICateringService cateringService,
     IUserService userService)
 {
     this.accountService  = accountService;
     this.cateringService = cateringService;
     this.userService     = userService;
 }
 public PackagesController(
     ICateringService cateringService,
     IPackageService packageService,
     SieveProcessor sieveProcessor)
 {
     this.cateringService = cateringService;
     this.packageService  = packageService;
     this.sieveProcessor  = sieveProcessor;
 }
 public CateringsController(
     ICateringService cateringService,
     IAccountService accountService,
     IUserService userService,
     SieveProcessor sieveProcessor)
 {
     this.cateringService = cateringService;
     this.accountService  = accountService;
     this.userService     = userService;
     this.sieveProcessor  = sieveProcessor;
 }
Example #4
0
 public CateringController(ICateringService cateringService)
 {
     _cateringService = cateringService;
 }