public ActionResult AddEditDetail(EmployeeDetailModel objEmployeeDetailModel) { objEmployeeDetailModel.CreatedBy = objEmployeeDetailModel.UpdatedBy = User.Identity.Name; var IsSaved = objEmployee.AddEmployeeDetails(objEmployeeDetailModel); return(RedirectToAction("Index")); }