private bool CustomDelete(T_EmployeeTerminationFacility t_employeeterminationfacility, out bool customdelete_hasissues, string command = "")
        {
            var result = false;

            customdelete_hasissues = false;
            return(result);
        }
        private bool CustomSaveOnImport(T_EmployeeTerminationFacility t_employeeterminationfacility, out string customerror, int i)
        {
            var result = false;

            customerror = "";
            return(result);
        }
        public string CheckBeforeSave(T_EmployeeTerminationFacility t_employeeterminationfacility, string command = "")
        {
            var AlertMsg = "";

            // Write your logic here

            //Make sure to assign AlertMsg with proper message
            //AlertMsg = "Validation Alert - Before Save !! Information not saved.";
            //ModelState.AddModelError("CustomError", AlertMsg);
            //ViewBag.ApplicationError = AlertMsg;
            return(AlertMsg);
        }
        public bool CheckBeforeDelete(T_EmployeeTerminationFacility t_employeeterminationfacility)
        {
            var result = true;

            // Write your logic here

            if (!result)
            {
                var AlertMsg = "Validation Alert - Before Delete !! Information not deleted.";
                ModelState.AddModelError("CustomError", AlertMsg);
                ViewBag.ApplicationError = AlertMsg;
            }
            return(result);
        }
 public void AfterSave(T_EmployeeTerminationFacility t_employeeterminationfacility)
 {
     // Write your logic here
 }
 public void OnSaving(T_EmployeeTerminationFacility t_employeeterminationfacility, ApplicationContext db)
 {
     // Write your logic here
 }
 public void OnDeleting(T_EmployeeTerminationFacility t_employeeterminationfacility)
 {
     // Write your logic here
 }
 private RedirectToRouteResult CustomRedirectUrl(T_EmployeeTerminationFacility t_employeeterminationfacility, string action, string command = "")
 {
     // Sample Custom implemention below
     // return RedirectToAction("Index", "T_EmployeeTerminationFacility");
     return(null);
 }
 private void CustomLoadViewDataListAfterEdit(T_EmployeeTerminationFacility t_employeeterminationfacility)
 {
 }