public List <EmployeeServiceDetails> GetEmployeeListByReportingToEmployee(int EmployeeID)
 {
     try
     {
         return(EmployeeServiceDetailsIntegration.GetReportingEmployeeListByReportingToEmployee(EmployeeID));
     }
     catch (Exception ex)
     {
         throw (new Exception(MethodBase.GetCurrentMethod().DeclaringType.ToString() + "." + (new System.Diagnostics.StackFrame()).GetMethod().Name, ex));
     }
 }
 public List <EmployeeServiceDetails> GetEmployeeServiceDetailsAll(string searchText, bool showDeleted = false)
 {
     try
     {
         return(EmployeeServiceDetailsIntegration.GetEmployeeServiceDetailsAll(searchText, showDeleted));
     }
     catch (Exception ex)
     {
         throw (new Exception(MethodBase.GetCurrentMethod().DeclaringType.ToString() + "." + (new System.Diagnostics.StackFrame()).GetMethod().Name, ex));
     }
 }
 public int DeleteEmployeeServiceDetais(EmployeeServiceDetails _EmployeeServiceDetails)
 {
     try
     {
         return(EmployeeServiceDetailsIntegration.DeleteEmployeeServiceDetails(_EmployeeServiceDetails));
     }
     catch (Exception ex)
     {
         throw (new Exception(MethodBase.GetCurrentMethod().DeclaringType.ToString() + "." + (new System.Diagnostics.StackFrame()).GetMethod().Name, ex));
     }
 }