public ActionResult Save(tblCompanyDTO tblCompanyDTO) { if (ModelState.IsValid) { var result = CompanyBusinessLogic.Save(tblCompanyDTO); if (result > 0) { return(RedirectToAction("Index")); } } return(View(tblCompanyDTO)); }
public ActionResult Save(tblCompanyDTO tblCompanyDTO) { if (ModelState.IsValid) { var result = CompanyBusinessLogic.Save(tblCompanyDTO); if (result > 0) { return(RedirectToAction("Index")); } } return(View(tblCompanyDTO)); }