private bool CustomDelete(T_LeaveProfileReason t_leaveprofilereason, out bool customdelete_hasissues, string command = "") { var result = false; customdelete_hasissues = false; return(result); }
private bool CustomSaveOnImport(T_LeaveProfileReason t_leaveprofilereason, out string customerror, int i) { var result = false; customerror = ""; return(result); }
public string CheckBeforeSave(T_LeaveProfileReason t_leaveprofilereason, 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_LeaveProfileReason t_leaveprofilereason) { 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_LeaveProfileReason t_leaveprofilereason) { // Write your logic here }
public void OnSaving(T_LeaveProfileReason t_leaveprofilereason, ApplicationContext db) { // Write your logic here }
public void OnDeleting(T_LeaveProfileReason t_leaveprofilereason) { // Write your logic here }
private RedirectToRouteResult CustomRedirectUrl(T_LeaveProfileReason t_leaveprofilereason, string action, string command = "") { // Sample Custom implemention below // return RedirectToAction("Index", "T_LeaveProfileReason"); return(null); }
private void CustomLoadViewDataListAfterEdit(T_LeaveProfileReason t_leaveprofilereason) { }