Ejemplo n.º 1
0
 protected BaseCategoriesRecipesControl(IUnitOfWork unitOfWork) : base(unitOfWork)
 {
     CategoryRepository          = UnitOfWork.Categories;
     RecipeRepository            = UnitOfWork.Recipes;
     AamountIngredientRepository = UnitOfWork.AmountIngredients;
     CookingStepRepository       = UnitOfWork.CookingSteps;
 }
 public RecipeIngredientsControl(IUnitOfWork unitOfWork) : base(unitOfWork)
 {
     amountIngredientRepository = UnitOfWork.AmountIngredients;
     ingredientRepository       = UnitOfWork.Ingredients;
 }