예제 #1
0
        public ActionResult Delete(int id)
        {
            CompanyInfoBLL objCompanyInfoBLL = new CompanyInfoBLL();
            var            companyInfo       = objCompanyInfoBLL.GetCompanyInfo(id);

            return(View(companyInfo));
        }
예제 #2
0
        public ActionResult GetCompanyInfo()
        {
            CompanyInfoBLL objCompanyInfoBLL = new CompanyInfoBLL();
            var            CompanyList       = objCompanyInfoBLL.GetCompanyInfo();

            return(Json(new { data = CompanyList }, JsonRequestBehavior.AllowGet));
        }