예제 #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)));
     }
 }
예제 #2
0
 public static string GetStatistics(int pharmacyID)
 {
     return(AttendanceRepository.GetStatistics(pharmacyID));
 }
예제 #3
0
 public static bool SetCurrentAttendance(Attendance attendance)
 {
     return(AttendanceRepository.SetCurrentAttendance(attendance));
 }
예제 #4
0
 public static Attendance GetCurrentAttendance()
 {
     return(AttendanceRepository.GetCurrentAttendance());
 }
예제 #5
0
 public static int DeleteAttendance(int id)
 {
     return(AttendanceRepository.DeleteAttendance(id));
 }
예제 #6
0
 public static int SaveAttendance(Attendance item)
 {
     return(AttendanceRepository.SaveAttendance(item));
 }
예제 #7
0
 public static Attendance GetLastAttendance(int pharmacyID)
 {
     return(AttendanceRepository.GetLastAttendance(pharmacyID));
 }
예제 #8
0
 public static Attendance GetAttendance(int id)
 {
     return(AttendanceRepository.GetAttendance(id));
 }
예제 #9
0
 public static void Refresh()
 {
     AttendanceRepository.Refresh();
 }