public ActionResult GetAllPortList() { DalSysPort objPort = new DalSysPort(); var Data = objPort.GetAll(); return(Json(Data, JsonRequestBehavior.AllowGet)); }
public ActionResult ExportPI() { DalSysCurrency objCurrency = new DalSysCurrency(); DalSysCountry objCountry = new DalSysCountry(); DalSysBranch objBranch = new DalSysBranch(); DalSysPort objPort = new DalSysPort(); ViewBag.formTiltle = "Proforma Invoice/Contract"; ViewBag.CurrencyList = objCurrency.GetAllActiveCurrency(); ViewBag.CountryList = objCountry.GetAll(); ViewBag.BuyerBank = objBranch.GetCategoryTypeWiseBranchNameWithBank("BNK", "BYR"); ViewBag.BeneficiaryBank = objBranch.GetCategoryTypeWiseBranchNameWithBank("BNK", "SLR"); ViewBag.PortList = objPort.GetAll(); return(View()); }
public PortController() { _vmMsg = new ValidationMsg(); _dalSysPort = new DalSysPort(); }