public ProductsController()
 {
     dbContext = new App_DBEntities();
     prodRepo = new ProductRepository(dbContext);
 }
 protected override void Initialize(System.Web.Http.Controllers.HttpControllerContext controllerContext)
 {
     db = new App_DBEntities();
     productRepository = new ProductRepository(db);
     base.Initialize(controllerContext);
 }