Ejemplo n.º 1
0
 /// <summary>
 /// ctor the Mighty
 /// </summary>
 public RecipeController(IUnitOfWorkFactory <BrewgrContext> unitOfWorkFactory, IRecipeService recipeService, IBeerStyleService beerStyleService,
                         IStaticContentService staticContentService, IUserService userService, INotificationService notificationService, IPartnerIdResolver partnerIdResolver,
                         IBeerXmlRecipeExporter beerXmlExporter, IBeerXmlRecipeImporter beerXmlImporter, IPartnerService partnerService, ISendToShopService sendToShopService)
 {
     this.UnitOfWorkFactory    = unitOfWorkFactory;
     this.RecipeService        = recipeService;
     this.BeerStyleService     = beerStyleService;
     this.StaticContentService = staticContentService;
     this.UserService          = userService;
     this.NotificationService  = notificationService;
     this.PartnerIdResolver    = partnerIdResolver;
     this.BeerXmlExporter      = beerXmlExporter;
     this.BeerXmlImporter      = beerXmlImporter;
     this.PartnerService       = partnerService;
     this.SendToShopService    = sendToShopService;
 }
Ejemplo n.º 2
0
		/// <summary>
		/// ctor the Mighty
		/// </summary>
		public RecipeController(IUnitOfWorkFactory<BrewgrContext> unitOfWorkFactory, IRecipeService recipeService, IBeerStyleService beerStyleService, 
			IStaticContentService staticContentService, IUserService userService, INotificationService notificationService, IPartnerIdResolver partnerIdResolver,
			IBeerXmlRecipeExporter beerXmlExporter, IBeerXmlRecipeImporter beerXmlImporter, IPartnerService partnerService, ISendToShopService sendToShopService)
		{
			this.UnitOfWorkFactory = unitOfWorkFactory;
			this.RecipeService = recipeService;
			this.BeerStyleService = beerStyleService;
			this.StaticContentService = staticContentService;
            this.UserService = userService;
			this.NotificationService = notificationService;
			this.PartnerIdResolver = partnerIdResolver;
			this.BeerXmlExporter = beerXmlExporter;
			this.BeerXmlImporter = beerXmlImporter;
			this.PartnerService = partnerService;
			this.SendToShopService = sendToShopService;
		}