コード例 #1
0
 public PictureController(IFoodRepo foodRepo)
 {
     FoodRepo = foodRepo;
 }
コード例 #2
0
 public FoodsController(IFoodRepo repository)
 {
     _repository = repository;
 }
コード例 #3
0
 public FoodController(IFoodRepo foodRepo, IBingFacade bingFacade)
 {
     FoodRepo   = foodRepo;
     BingFacade = bingFacade;
 }