示例#1
0
 public RecipeProvider(IRecipeRepository recipeRepository,
                       IRecipeCategoryRepository recipeCategoryRepository,
                       IProductRepository productRepository,
                       IMenuRepository menuRepository,
                       IRecipeProdRecordRepository recipeProdRecordRepository,
                       IMenuRecipeRecordRepository menuRecipeRecordRepository)
 {
     _recipeRepository           = recipeRepository;
     _recipeCategoryRepository   = recipeCategoryRepository;
     _recipeProdRecordRepository = recipeProdRecordRepository;
     _productRepository          = productRepository;
     _menuRepository             = menuRepository;
     _menuRecipeRecordRepository = menuRecipeRecordRepository;
 }
示例#2
0
 public RecipeProdRecordProvider(IRecipeProdRecordRepository recipeProdRecordRepository)
 {
     _recipeProdRecordRepository = recipeProdRecordRepository;
 }