Example #1
0
 /// <summary>
 /// ctor the Mighty
 /// </summary>
 public RootController(IUnitOfWorkFactory <BrewgrContext> unitOfWorkFactory, IUserLoginService userLoginService,
                       IAuthenticationService authService, IUserResolver userResolver, IOAuthService oAuthService, IUserService userService,
                       ISearchService searchService, IFacebookConnectSettings facebookConnectSettings, IMarketingService marketingService,
                       IRecipeService recipeService, IEmailMessageFactory emailMessageFactory, IEmailSender emailSender, ISeoSitemap seoSitemap)
 {
     this.UnitOfWorkFactory       = unitOfWorkFactory;
     this.UserLoginService        = userLoginService;
     this.AuthService             = authService;
     this.UserResolver            = userResolver;
     this.OAuthService            = oAuthService;
     this.UserService             = userService;
     this.SearchService           = searchService;
     this.FacebookConnectSettings = facebookConnectSettings;
     this.MarketingService        = marketingService;
     this.RecipeService           = recipeService;
     this.EmailMessageFactory     = emailMessageFactory;
     this.EmailSender             = emailSender;
     this.SeoSitemap = seoSitemap;
 }
		/// <summary>
		/// ctor the Mighty
		/// </summary>
		public RootController(IUnitOfWorkFactory<BrewgrContext> unitOfWorkFactory, IUserLoginService userLoginService, 
			IAuthenticationService authService, IUserResolver userResolver, IOAuthService oAuthService, IUserService userService,
			ISearchService searchService, IFacebookConnectSettings facebookConnectSettings, IMarketingService marketingService,
			IRecipeService recipeService, IEmailMessageFactory emailMessageFactory, IEmailSender emailSender, ISeoSitemap seoSitemap)
		{
			this.UnitOfWorkFactory = unitOfWorkFactory;
			this.UserLoginService = userLoginService;
			this.AuthService = authService;
			this.UserResolver = userResolver;
			this.OAuthService = oAuthService;
			this.UserService = userService;
			this.SearchService = searchService;
			this.FacebookConnectSettings = facebookConnectSettings;
			this.MarketingService = marketingService;
			this.RecipeService = recipeService;
			this.EmailMessageFactory = emailMessageFactory;
			this.EmailSender = emailSender;
			this.SeoSitemap = seoSitemap;
		}