예제 #1
0
 public BurgerController(IDbContext dbContext, IIngredientTypeRepository ingredientTypeRepository, IBunRepository bunRepository, IUserRepository userRepository, IIngredientRepository ingredientRepository)
 {
     this.dbContext = dbContext;
     this.ingredientTypeRepository = ingredientTypeRepository;
     this.bunRepository            = bunRepository;
     this.userRepository           = userRepository;
     this.ingredientRepository     = ingredientRepository;
 }
예제 #2
0
 public SubmitBunConsumer(IBunRepository repo)
 {
     _repo = repo;
 }