Beispiel #1
0
 public Shift GetShiftByID(int ShiftID)
 {
     try
     {
         return(ShiftIntegration.GetShiftByID(ShiftID));
     }
     catch (Exception ex)
     {
         throw (new Exception(MethodBase.GetCurrentMethod().DeclaringType.ToString() + "." + (new System.Diagnostics.StackFrame()).GetMethod().Name, ex));
     }
 }
Beispiel #2
0
 public List <Shift> GetShiftList(string searchText = null, bool showDeleted = false)
 {
     try
     {
         return(ShiftIntegration.GetShiftList(searchText, showDeleted));
     }
     catch (Exception ex)
     {
         throw (new Exception(MethodBase.GetCurrentMethod().DeclaringType.ToString() + "." + (new System.Diagnostics.StackFrame()).GetMethod().Name, ex));
     }
 }
Beispiel #3
0
 public int UpdateShift(Shift theShift)
 {
     try
     {
         return(ShiftIntegration.UpdateShift(theShift));
     }
     catch (Exception ex)
     {
         throw (new Exception(MethodBase.GetCurrentMethod().DeclaringType.ToString() + "." + (new System.Diagnostics.StackFrame()).GetMethod().Name, ex));
     }
 }
Beispiel #4
0
 public int DeleteShift(Shift theShift)
 {
     return(ShiftIntegration.DeleteShift(theShift));
 }