コード例 #1
0
 public ProductsController( IImageProvider imageProvider , ICaloriesDataContext caloriesDataContext)
 {
     p_ImageProvider = imageProvider;
     p_CaloriesContext = caloriesDataContext;
 }
コード例 #2
0
 public HomeController(ICaloriesDataContext caloriesDataContext)
 {
     p_CaloriesDataContext = caloriesDataContext;
 }