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

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

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