Example #1
0
 public static IList <Attendance> GetAttendances(int pharmacyID = -1)
 {
     if (pharmacyID == -1)
     {
         return(new List <Attendance> (AttendanceRepository.GetAttendances()));
     }
     else
     {
         return(new List <Attendance> (AttendanceRepository.GetAttendances(pharmacyID)));
     }
 }
Example #2
0
 public static string GetStatistics(int pharmacyID)
 {
     return(AttendanceRepository.GetStatistics(pharmacyID));
 }
Example #3
0
 public static bool SetCurrentAttendance(Attendance attendance)
 {
     return(AttendanceRepository.SetCurrentAttendance(attendance));
 }
Example #4
0
 public static Attendance GetCurrentAttendance()
 {
     return(AttendanceRepository.GetCurrentAttendance());
 }
Example #5
0
 public static int DeleteAttendance(int id)
 {
     return(AttendanceRepository.DeleteAttendance(id));
 }
Example #6
0
 public static int SaveAttendance(Attendance item)
 {
     return(AttendanceRepository.SaveAttendance(item));
 }
Example #7
0
 public static Attendance GetLastAttendance(int pharmacyID)
 {
     return(AttendanceRepository.GetLastAttendance(pharmacyID));
 }
Example #8
0
 public static Attendance GetAttendance(int id)
 {
     return(AttendanceRepository.GetAttendance(id));
 }
Example #9
0
 public static void Refresh()
 {
     AttendanceRepository.Refresh();
 }