Пример #1
0
 /// <summary>
 /// ctor the Mighty
 /// </summary>
 public IngredientController(IRecipeDataService recipeDataService, IIngredientCategorizer ingredientCategorizer,
                             IAffiliateService affiliateService)
 {
     this.RecipeDataService     = recipeDataService;
     this.IngredientCategorizer = ingredientCategorizer;
     this.AffiliateService      = affiliateService;
 }
		/// <summary>
		/// ctor the Mighty
		/// </summary>
		public IngredientController(IRecipeDataService recipeDataService, IIngredientCategorizer ingredientCategorizer,
			IAffiliateService affiliateService)
		{
			this.RecipeDataService = recipeDataService;
			this.IngredientCategorizer = ingredientCategorizer;
			this.AffiliateService = affiliateService;
		}
 /// <summary>
 /// ctor the Mighty
 /// </summary>
 public DefaultRecipeService(IBrewgrRepository repository, ICachingService cachingService, IUserResolver userResolver,
                             IRecipeDataService recipeDataService, IBeerStyleService beerStyleService, IPartnerIdResolver partnerIdResolver, IPartnerService partnerService,
                             IIngredientCategorizer ingredientCategorizer, IDataContextActivationInfo <BrewgrContext> dataContextActivationInfo, IUserService userService,
                             ISendToShopService sendToShopService)
 {
     this.Repository                = repository;
     this.CachingService            = cachingService;
     this.UserResolver              = userResolver;
     this.RecipeDataService         = recipeDataService;
     this.BeerStyleService          = beerStyleService;
     this.PartnerIdResolver         = partnerIdResolver;
     this.PartnerService            = partnerService;
     this.IngredientCategorizer     = ingredientCategorizer;
     this.DataContextActivationInfo = dataContextActivationInfo;
     this.UserService               = userService;
     this.SendToShopService         = sendToShopService;
 }