Пример #1
0
 public static string GetAttendanceResultValue(
     int attendanceID, int infoID, int drugID)
 {
     return(AttendanceResultRepository.GetAttendanceResultValue(
                attendanceID, infoID, drugID
                ));
 }
Пример #2
0
 public static bool SetAttendanceResultValue(
     int attendanceID, int infoID, int drugID, string value)
 {
     return(AttendanceResultRepository.SetAttendanceResultValue(
                attendanceID, infoID, drugID, value
                ));
 }
Пример #3
0
 public static IList <AttendanceResult> GetAttendanceResults(int attendanceID = -1)
 {
     if (attendanceID == -1)
     {
         return(new List <AttendanceResult> (AttendanceResultRepository.GetAttendanceResults()));
     }
     else
     {
         return(new List <AttendanceResult> (AttendanceResultRepository.GetAttendanceResults(attendanceID)));
     }
 }
Пример #4
0
 public static bool SetCurrentAttendanceResults(List <AttendanceResult> attendanceResults)
 {
     return(AttendanceResultRepository.SetCurrentAttendanceResults(attendanceResults));
 }
Пример #5
0
 public static List <AttendanceResult> GetCurrentAttendanceResults()
 {
     return(AttendanceResultRepository.GetCurrentAttendanceResults());
 }
Пример #6
0
 public static int DeleteAttendanceResult(int id)
 {
     return(AttendanceResultRepository.DeleteAttendanceResult(id));
 }
Пример #7
0
 public static bool CreateItemsForSync(Attendance oldAttendance, Attendance newAttendance)
 {
     return(AttendanceResultRepository.CreateItemsForSync(oldAttendance, newAttendance));
 }
Пример #8
0
 public static bool SaveNewAttendanceResults(int attendanceID, List <AttendanceResult> results)
 {
     return(AttendanceResultRepository.SaveNewAttendanceResults(attendanceID, results));
 }
Пример #9
0
 public static int SaveAttendanceResult(AttendanceResult item)
 {
     return(AttendanceResultRepository.SaveAttendanceResult(item));
 }
Пример #10
0
 public static AttendanceResult GetAttendanceResult(int id)
 {
     return(AttendanceResultRepository.GetAttendanceResult(id));
 }
Пример #11
0
 public static void Refresh()
 {
     AttendanceResultRepository.Refresh();
 }