Exemple #1
0
        //
        // GET: /ModuleDeclaration/Waiting/ListSearchImport_Datas

        public ActionResult Add()
        {
            try
            {
                string _url = Request.RawUrl;
                string _ok  = CommonFunc.Nvs_Redirect_QuyenTruyCapUser(_url);
                if (_ok != "")
                {
                    return(Redirect(_ok));
                }
                ContractBL            _ContractBL  = new ContractBL();
                List <Contracts_Info> ListContract = _ContractBL.Contract_GetByStatus((int)NaviCommon.Enum_Contract_Status.Da_Duyet);
                ViewBag.ListContract = ListContract;
                Product_BL          _Product_BL = new Product_BL();
                List <Product_Info> _lst_data   = _Product_BL.Product_GetAll();
                ViewBag.ListProduct = _lst_data;
                return(View());
            }
            catch (Exception ex)
            {
                NaviCommon.Common.log.Error(ex.ToString());
                return(View());
            }
        }