public ActionResult GeneralReportsMax_Load() { try { actionResult.dtResult = GeneralReportsDL.GeneralReportsMax_Load(); if (actionResult.dtResult != null && actionResult.dtResult.Rows.Count > 0) { actionResult.IsSuccess = true; } } catch (Exception ex) { ErrorReporting.ActionLayerError(ex); } return(actionResult); }
public ActionResult Role_LoadById(RoleBase roleBase) { try { actionResult.dtResult = admintDL.Role_LoadById(roleBase); if (actionResult.dtResult != null && actionResult.dtResult.Rows.Count > 0) { actionResult.IsSuccess = true; } } catch (Exception ex) { ErrorReporting.ActionLayerError(ex); } return(actionResult); }
public ActionResult NatureCodes_LoadByID(CIMS.BaseLayer.Setting.NatureEventBase eventBase) { try { actionResult.dtResult = EventDL.NatureCodes_LoadByID(eventBase); if (actionResult.dtResult != null && actionResult.dtResult.Rows.Count > 0) { actionResult.IsSuccess = true; } } catch (Exception ex) { ErrorReporting.ActionLayerError(ex); } return(actionResult); }
public ActionResult SubMenuPermission_IU(SubMenuBase subMenuBase) { try { actionResult.dtResult = admintDL.SubMenuPermission_IU(subMenuBase); if (actionResult.dtResult != null && actionResult.dtResult.Rows.Count > 0) { actionResult.IsSuccess = true; } } catch (Exception ex) { ErrorReporting.ActionLayerError(ex); } return(actionResult); }
public ActionResult EventReview_DeleteById(EventReviewBase EventBase) { try { actionResult.dtResult = EventDL.EventReview_DeleteById(EventBase); if (actionResult.dtResult != null && actionResult.dtResult.Rows.Count > 0) { actionResult.IsSuccess = true; } } catch (Exception ex) { ErrorReporting.ActionLayerError(ex); } return(actionResult); }
public ActionResult Menus_LoadForSiteAdministrator() { try { actionResult.dtResult = admintDL.Menus_LoadForSiteAdministrator(); if (actionResult.dtResult != null && actionResult.dtResult.Rows.Count > 0) { actionResult.IsSuccess = true; } } catch (Exception ex) { ErrorReporting.ActionLayerError(ex); } return(actionResult); }
public ActionResult SubMenu_LoadAll() { try { actionResult.dtResult = admintDL.SubMenu_LoadAll(); if (actionResult.dtResult != null && actionResult.dtResult.Rows.Count > 0) { actionResult.IsSuccess = true; } } catch (Exception ex) { ErrorReporting.ActionLayerError(ex); } return(actionResult); }
public ActionResult Users_Password_Update(UserBase userBase) { try { actionResult.dtResult = admintDL.Users_Password_Update(userBase); if (actionResult.dtResult != null && actionResult.dtResult.Rows.Count > 0) { actionResult.IsSuccess = true; } } catch (Exception ex) { ErrorReporting.ActionLayerError(ex); } return(actionResult); }
public ActionResult Login_Load(UserBase userBase) { try { actionResult.dtResult = admintDL.Login_Load(userBase); if (actionResult.dtResult != null && actionResult.dtResult.Rows.Count > 0) { actionResult.IsSuccess = true; } } catch (Exception ex) { ErrorReporting.ActionLayerError(ex); } return(actionResult); }
// *DN public ActionResult Corporate_update(CorporateBase corporateBase) { try { actionResult.dtResult = admintDL.Corporate_update(corporateBase); if (actionResult.dtResult != null && actionResult.dtResult.Rows.Count > 0) { actionResult.IsSuccess = true; } } catch (Exception ex) { ErrorReporting.ActionLayerError(ex); } return(actionResult); }
public ActionResult PictureVideos_Delete(PictureVideosBase pictureVideoBase) { try { actionResult.dtResult = mediatDL.PictureVideos_Delete(pictureVideoBase); if (actionResult.dtResult != null && actionResult.dtResult.Rows.Count > 0) { actionResult.IsSuccess = true; } } catch (Exception ex) { ErrorReporting.ActionLayerError(ex); } return(actionResult); }
public ActionResult IncidentGeneralReports_IU(CIMS.BaseLayer.Subject.ReportBase subject) { try { actionResult.dtResult = GeneralReportsDL.IncidentGeneralReports_IU(subject); if (actionResult.dtResult != null && actionResult.dtResult.Rows.Count > 0) { actionResult.IsSuccess = true; } } catch (Exception ex) { ErrorReporting.ActionLayerError(ex); } return(actionResult); }
public ActionResult GeneralReportLinked_DeleteById(CIMS.BaseLayer.Subject.IncidentLinkedBase linkBase) { try { actionResult.dtResult = GeneralReportsDL.GeneralReportLinked_DeleteById(linkBase); if (actionResult.dtResult != null && actionResult.dtResult.Rows.Count > 0) { actionResult.IsSuccess = true; } } catch (Exception ex) { ErrorReporting.ActionLayerError(ex); } return(actionResult); }
public ActionResult Customer_LoadById() { try { actionResult.dtResult = accountDL.Customer_LoadById(); if (actionResult.dtResult != null && actionResult.dtResult.Rows.Count > 0) { actionResult.IsSuccess = true; } } catch (Exception ex) { ErrorReporting.ActionLayerError(ex); } return(actionResult); }
public ActionResult Customers_InsertUpdate(UserBase userBase) { try { actionResult.dtResult = accountDL.Customers_InsertUpdate(userBase); if (actionResult.dtResult != null && actionResult.dtResult.Rows.Count > 0) { actionResult.IsSuccess = true; } } catch (Exception ex) { ErrorReporting.ActionLayerError(ex); } return(actionResult); }
public ActionResult SubjectEmployeePicture_Insert(CommonPictureVideosBase pictureVideoBase) { try { actionResult.dtResult = mediatDL.SubjectEmployeePicture_Insert(pictureVideoBase); if (actionResult.dtResult != null && actionResult.dtResult.Rows.Count > 0) { //actionResult.RowsAffected = Convert.ToInt32(actionResult.dtResult.Rows[0]["result"]); actionResult.IsSuccess = true; } } catch (Exception ex) { ErrorReporting.ActionLayerError(ex); } return(actionResult); }
public ActionResult GeneralReportInvolve_I(GeneralReportsBase generalReportsBase) { try { actionResult.dtResult = GeneralReportsDL.GeneralReportInvolve_I(generalReportsBase); if (actionResult.dtResult != null && actionResult.dtResult.Rows.Count > 0) { actionResult.IsSuccess = true; } else { actionResult.IsSuccess = false; } } catch (Exception ex) { ErrorReporting.ActionLayerError(ex); } return(actionResult); }
public ActionResult GenReportsServicesOffered_LoadbyReportID(GeneralReportsBase reportBase) { try { actionResult.dtResult = GeneralReportsDL.GenReportsServicesOffered_LoadbyReportID(reportBase); if (actionResult.dtResult != null && actionResult.dtResult.Rows.Count > 0) { actionResult.IsSuccess = true; } else { actionResult.IsSuccess = false; } } catch (Exception ex) { ErrorReporting.ActionLayerError(ex); } return(actionResult); }
public ActionResult GeneralReportsBanType_I(CIMS.BaseLayer.Subject.BanTypeBase bantype) { try { actionResult.dtResult = GeneralReportsDL.GeneralReportsBanType_I(bantype); if (actionResult.dtResult != null && actionResult.dtResult.Rows.Count > 0) { actionResult.IsSuccess = true; } else { actionResult.IsSuccess = false; } } catch (Exception ex) { ErrorReporting.ActionLayerError(ex); } return(actionResult); }
public ActionResult GenReportsAccessPermission_AddEdit(GeneralReportsBase reportsBase) { try { actionResult.dtResult = GeneralReportsDL.GenReportsAccessPermission_AddEdit(reportsBase); if (actionResult.dtResult != null && actionResult.dtResult.Rows.Count > 0) { actionResult.IsSuccess = true; } else { actionResult.IsSuccess = false; } } catch (Exception ex) { ErrorReporting.ActionLayerError(ex); } return(actionResult); }
public ActionResult GenReportServicesOffered_I(CIMS.BaseLayer.Subject.ServiceBase subject) { try { actionResult.dtResult = GeneralReportsDL.GenReportServicesOffered_I(subject); if (actionResult.dtResult != null && actionResult.dtResult.Rows.Count > 0) { actionResult.IsSuccess = true; } else { actionResult.IsSuccess = false; } } catch (Exception ex) { ErrorReporting.ActionLayerError(ex); } return(actionResult); }
public ActionResult EventPermissionCheck_User(EventPermissionModel reportsBase) { try { actionResult.dtResult = EventDL.EventPermissionCheck_User(reportsBase); if (actionResult.dtResult != null && actionResult.dtResult.Rows.Count > 0) { actionResult.IsSuccess = true; } else { actionResult.IsSuccess = false; } } catch (Exception ex) { ErrorReporting.ActionLayerError(ex); } return(actionResult); }