public GeoController() { if (_geoServices == null) { _geoServices = DependencyResolver.Current.GetService <IGeoServices>(); } }
public CheckoutController() { _paypalServices = DependencyResolver.Current.GetService <IPaypalServices>(); _billingServices = DependencyResolver.Current.GetService <IBillingServices>(); _widgetCourseServices = DependencyResolver.Current.GetService <IWidgetCourseServices>(); _couponWidgetServices = DependencyResolver.Current.GetService <ICouponWidgetServices>(); _geoServices = DependencyResolver.Current.GetService <IGeoServices>(); _userAccountServices = DependencyResolver.Current.GetService <IUserAccountServices>(); }
public PaymentController() { _paypalServices = DependencyResolver.Current.GetService <IPaypalServices>(); _billingServices = DependencyResolver.Current.GetService <IBillingServices>(); _widgetCourseServices = DependencyResolver.Current.GetService <IWidgetCourseServices>(); _couponWidgetServices = DependencyResolver.Current.GetService <ICouponWidgetServices>(); _geoServices = DependencyResolver.Current.GetService <IGeoServices>(); _userAccountServices = DependencyResolver.Current.GetService <IUserAccountServices>(); // _webStorePortalServices = DependencyResolver.Current.GetService<IWidgetWebStoreServices>(); }
public BaseController() { Logger = new NLogLogger(); JsSerializer = new JavaScriptSerializer { MaxJsonLength = Int32.MaxValue }; if (EventLoggerService == null) { EventLoggerService = DependencyResolver.Current.GetService <IUserEventLoggerServices>(); } if (EmailService == null) { EmailService = DependencyResolver.Current.GetService <IEmailServices>(); } if (FbServices == null) { FbServices = DependencyResolver.Current.GetService <FacebookServices>(); } if (_geoServices == null) { _geoServices = DependencyResolver.Current.GetService <IGeoServices>(); } }
public PluginController() { _pluginStoreServices = DependencyResolver.Current.GetService <IPluginStoreServices>(); _geoServices = DependencyResolver.Current.GetService <IGeoServices>(); }