public IProductManagementService ResolveProductManagementService()
        {
            var repository = new SqlProductRepository(this.connectionString);
            var srvc       = new ProductManagementService(repository, this.mapper);

            lock (this.syncRoot)
            {
                this.repositories.Add(srvc, repository);
            }

            return(srvc);
        }
		public IProductManagementService ResolveProductManagementService()
		{
			var repository = new SqlProductRepository(this.connectionString);
			var srvc = new ProductManagementService(repository, this.mapper);

			lock (this.syncRoot)
			{
				this.repositories.Add(srvc, repository);
			}

			return srvc;
		}