public void Initialize() { StarsWars.Services.Tests.Config.AutoMapperConfig.Initialize(); _container = new UnityContainer(); _container.LoadConfiguration(); _starsWarsManager = _container.Resolve <IStarsWarsManager>(); }
public StarsWarsController(IStarsWarsManager starsWarsManager) { _log = LogManager.GetLogger(this.GetType().FullName); _starsWarsManager = starsWarsManager; _pageSize = Convert.ToInt32(ConfigurationManager.AppSettings["PageSize"]); }
public StarsWarsDetailsController(IStarsWarsManager starsWarsManager) { _log = LogManager.GetLogger(this.GetType().FullName); _starsWarsManager = starsWarsManager; }