public ActionResult Index() { var objPOTypeModel = new POTypeDataModel(); try { // ViewBag.VendorList = _IPOTypeDetails.GetCompany_VendorList(); ViewBag.PONumber = _IPOTypeDetails.PONumberData(); ViewBag.POType = _IPOTypeDetails.POTypeList(); } catch (Exception ex) { } return(View(objPOTypeModel)); }
public ActionResult DOTManagement_Sub() { var objPOTypeModel = new DOTManagementViewDataModel(); try { ViewBag.PONumber = _IPOTypeDetails.PONumberData(); ViewBag.POType = _IPOTypeDetails.POTypeList(); } catch (Exception ex) { } return(View(objPOTypeModel)); }