public RecipeRepository( IConfiguration configuration, IIngredientRepository ingredientRepository, IInstructionRepository instructionRepository) { _connectionString = configuration.GetConnectionString("MainDatabase"); _ingredientRepository = ingredientRepository; _instructionRepository = instructionRepository; }
public RecipesController(IRecipeRepository recipeRepo, IRecipeIngredientRepository recipeIngredientRepo, IInstructionRepository instructionRepo, IIngredientRepository ingredientRepo, IEquipmentRepository equipmentRepo, IRecipeEquipmentRepository recipeEquipmentRepo, IUserRepository userRepo) { RecipeRepo = recipeRepo; RecipeIngredientRepo = recipeIngredientRepo; InstructionRepo = instructionRepo; IngredientRepo = ingredientRepo; EquipmentRepo = equipmentRepo; RecipeEquipmentRepo = recipeEquipmentRepo; UserRepo = userRepo; }
public RecipeRepository_Solution( string connectionString, IIngredientRepository ingredientRepository, IInstructionRepository instructionRepository) { _connectionString = connectionString; _ingredientRepository = ingredientRepository; _instructionRepository = instructionRepository; }
public BlockVerifier(INetworkParameters parameters, ISignatureService signatureService, IEnumerable <ITransactionRule> txnRules, IEnumerable <IBlockRule> blockRules, IEnumerable <ValidInstructionType> validTxnTypes, IMerkleTreeBuilder merkleTreeBuilder, ITransactionKeyResolver transactionKeyResolver, IConsensusMethod consensusMethod, IHasher hasher, IInstructionRepository instructionRepository) { _parameters = parameters; _signatureService = signatureService; _txnRules = txnRules; _blockRules = blockRules; _merkleTreeBuilder = merkleTreeBuilder; _transactionKeyResolver = transactionKeyResolver; _consensusMethod = consensusMethod; _hasher = hasher; _instructionRepository = instructionRepository; }
public InstructionController(IInstructionRepository repoInstr, IStepRepository repoStep, UserManager <User> userManager, ApplicationContext ctx, ILikeRepository repoLike, ITagRepository repoTag, ICommentRepository repoComment) { repositoryInstr = repoInstr; repositoryStep = repoStep; repositoryTag = repoTag; repositoryLike = repoLike; repositoryComment = repoComment; _userManager = userManager; context = ctx; }
public InstructionsController(IInstructionRepository instructionsRepository) { _instructionsRepository = instructionsRepository; }
public RecipeRepository(IIngredientRepository ingredientRepository, IInstructionRepository instructionRepository) { _ingredientRepository = ingredientRepository; _instructionRepository = instructionRepository; }