// GET: Analysis
        public ActionResult Index()
        {
            ViewBag.VendorNameList = OrderBusiness.GetVendorNameList();
            ViewBag.MarketPlaces   = PricingBusiness.GetAllMarketPlaces();

            return(View());
        }
        public JsonResult DeleteInventory(DeleteInventoryParams param)
        {
            var delete_res = PricingBusiness.DeleteInventory(param);

            BRApplyParamemters brParam = new BRApplyParamemters();

            brParam.MarketPlace = param.MarketPlace;
            brParam.VendorName  = param.VendorName;

            var result_data = PricingBusiness.BRApply(brParam);

            return(Json(result_data, JsonRequestBehavior.AllowGet));
        }
        public JsonResult ASAApply(BRApplyParamemters param)
        {
            var result_data = PricingBusiness.ASAApply(param);

            return(Json(result_data, JsonRequestBehavior.AllowGet));
        }
        //*
        public JsonResult DownloadOrders(BRApplyParamemters param)
        {
            var result = PricingBusiness.DownloadOrders(param);

            return(Json(result, JsonRequestBehavior.AllowGet));
        }
        public ActionResult Scan(string marketPlace, HttpPostedFileBase inputFile)
        {
            List <ProductData> products = PricingBusiness.ScanProduct(marketPlace, inputFile.InputStream);

            return(Json(products, JsonRequestBehavior.AllowGet));
        }
 // GET: ScanItems
 public ActionResult Index()
 {
     ViewBag.MarketPlaces = PricingBusiness.GetAllMarketPlaces();
     return(View());
 }
Esempio n. 7
0
        public JsonResult Search(ProductSearchParamemters param)
        {
            var products = PricingBusiness.SearchProduct(param);

            return(Json(products, JsonRequestBehavior.AllowGet));
        }