public int DeleteDesignationOfficewise(int HolidayOfficwiseID) { try { return(DesignationOfficewiseIntegration.DeleteDesignationOfficewise(HolidayOfficwiseID)); } catch (Exception ex) { throw (new Exception(MethodBase.GetCurrentMethod().DeclaringType.ToString() + "." + (new System.Diagnostics.StackFrame()).GetMethod().Name, ex)); } }
public List <DesignationOfficewise> GetDesignationOfficewiseByOfficeID(int OfficeID = -1, string searchText = null, bool showDeleted = false) { try { return(DesignationOfficewiseIntegration.GetDesignationOfficewiseByOfficeID(OfficeID)); } catch (Exception ex) { throw (new Exception(MethodBase.GetCurrentMethod().DeclaringType.ToString() + "." + (new System.Diagnostics.StackFrame()).GetMethod().Name, ex)); } }
//public int InsertDesignationOfficewise(string DesignationIds) //{ // try // { // return DesignationOfficewiseIntegration.InsertDesignationOfficewise(DesignationIds); // } // catch (Exception ex) // { // throw (new Exception(MethodBase.GetCurrentMethod().DeclaringType.ToString() + "." + (new System.Diagnostics.StackFrame()).GetMethod().Name, ex)); // } //} public int InsertDesignationOfficewise(DesignationOfficewise _DesignationOfficewise) { try { return(DesignationOfficewiseIntegration.InsertDesignationOfficewise(_DesignationOfficewise)); } catch (Exception ex) { throw (new Exception(MethodBase.GetCurrentMethod().DeclaringType.ToString() + "." + (new System.Diagnostics.StackFrame()).GetMethod().Name, ex)); } }