public ActionResult _API_Load()

        {
            @model = new SignInPageViewModel();
            System.Web.HttpContext.Current.Session["LastEntryPoint_SignInPage"] = "Load";
            PushToHistory();
            var _masterController = new DSS1_RetailerDriverStockOptimisation.UI.Controllers.MasterPage.MasterPageController(@model);

            _masterController.ExecuteRender();
            var redirectInfo = ExecuteLoad();

            return(redirectInfo);
        }
        public ActionResult _API_EditSupplier(int?id)

        {
            @model = new SupplierFormViewModel();
            System.Web.HttpContext.Current.Session["LastEntryPoint_SupplierForm"] = "EditSupplier";
            PushToHistory();
            var _masterController = new DSS1_RetailerDriverStockOptimisation.UI.Controllers.MasterPage.MasterPageController(@model);

            _masterController.ExecuteRender();
            var redirectInfo = ExecuteEditSupplier(id);

            return(redirectInfo);
        }
        public ActionResult _API_Retrieve()

        {
            @model = new ApplicationSettingsListViewModel();
            System.Web.HttpContext.Current.Session["LastEntryPoint_ApplicationSettingsList"] = "Retrieve";
            PushToHistory();
            var _masterController = new DSS1_RetailerDriverStockOptimisation.UI.Controllers.MasterPage.MasterPageController(@model);

            _masterController.ExecuteRender();
            var redirectInfo = ExecuteRetrieve();

            return(redirectInfo);
        }
Beispiel #4
0
        public ActionResult _API_AddWarehouse()

        {
            @model = new WarehouseFormViewModel();
            System.Web.HttpContext.Current.Session["LastEntryPoint_WarehouseForm"] = "AddWarehouse";
            PushToHistory();
            var _masterController = new DSS1_RetailerDriverStockOptimisation.UI.Controllers.MasterPage.MasterPageController(@model);

            _masterController.ExecuteRender();
            var redirectInfo = ExecuteAddWarehouse();

            return(redirectInfo);
        }
        public ActionResult _API_EditAgreement(int?id)

        {
            @model = new AgreementFormViewModel();
            System.Web.HttpContext.Current.Session["LastEntryPoint_AgreementForm"] = "EditAgreement";
            PushToHistory();
            FileHelper.PendingUploadInstance.Clear("AgreementForm");
            FileHelper.PendingDownloadInstance.Clear("AgreementForm");
            var _masterController = new DSS1_RetailerDriverStockOptimisation.UI.Controllers.MasterPage.MasterPageController(@model);

            _masterController.ExecuteRender();
            var redirectInfo = ExecuteEditAgreement(id);

            return(redirectInfo);
        }