예제 #1
0
        public ProductService()
        {
            var str = ConfigurationManager.AppSettings["Interval"];

            productIndex = new SearchIndex();
            hours        = int.Parse(str);
            InitializeComponent();
        }
 public ProductController(IProductIndex productIndex)
 {
     ProductIndex = productIndex;
 }