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))); } }
public static string GetStatistics(int pharmacyID) { return(AttendanceRepository.GetStatistics(pharmacyID)); }
public static bool SetCurrentAttendance(Attendance attendance) { return(AttendanceRepository.SetCurrentAttendance(attendance)); }
public static Attendance GetCurrentAttendance() { return(AttendanceRepository.GetCurrentAttendance()); }
public static int DeleteAttendance(int id) { return(AttendanceRepository.DeleteAttendance(id)); }
public static int SaveAttendance(Attendance item) { return(AttendanceRepository.SaveAttendance(item)); }
public static Attendance GetLastAttendance(int pharmacyID) { return(AttendanceRepository.GetLastAttendance(pharmacyID)); }
public static Attendance GetAttendance(int id) { return(AttendanceRepository.GetAttendance(id)); }
public static void Refresh() { AttendanceRepository.Refresh(); }