Example #1
0
 public static MedicationTime GetMedicationTimeByID(int id)
 {
     MedicationTime medicationTime = new MedicationTime();
     SqlMedicationTimeProvider sqlMedicationTimeProvider = new SqlMedicationTimeProvider();
     medicationTime = sqlMedicationTimeProvider.GetMedicationTimeByID(id);
     return medicationTime;
 }
Example #2
0
 public static List<MedicationTime> GetAllMedicationTimes()
 {
     List<MedicationTime> medicationTimes = new List<MedicationTime>();
     SqlMedicationTimeProvider sqlMedicationTimeProvider = new SqlMedicationTimeProvider();
     medicationTimes = sqlMedicationTimeProvider.GetAllMedicationTimes();
     return medicationTimes;
 }
Example #3
0
 public static bool UpdateMedicationTime(MedicationTime medicationTime)
 {
     SqlMedicationTimeProvider sqlMedicationTimeProvider = new SqlMedicationTimeProvider();
     return sqlMedicationTimeProvider.UpdateMedicationTime(medicationTime);
 }
Example #4
0
 public static int InsertMedicationTime(MedicationTime medicationTime)
 {
     SqlMedicationTimeProvider sqlMedicationTimeProvider = new SqlMedicationTimeProvider();
     return sqlMedicationTimeProvider.InsertMedicationTime(medicationTime);
 }
Example #5
0
 public static DataSet GetAllMedicationTimesByResidentForPrint(int residentID,int printOption)
 {
     SqlMedicationTimeProvider sqlMedicationTimeProvider = new SqlMedicationTimeProvider();
     return sqlMedicationTimeProvider.GetAllMedicationTimesByResidentForPrint(residentID,printOption);
 }
Example #6
0
 public static DataSet GetAllMedicationTimesByResidentByStatus(int residentID, string status)
 {
     SqlMedicationTimeProvider sqlMedicationTimeProvider = new SqlMedicationTimeProvider();
     return sqlMedicationTimeProvider.GetAllMedicationTimesByResidentByStatus(residentID,status);
 }
Example #7
0
 public static DataSet GetAllMedicationTimesByResident(int residentID)
 {
     SqlMedicationTimeProvider sqlMedicationTimeProvider = new SqlMedicationTimeProvider();
     return sqlMedicationTimeProvider.GetAllMedicationTimesByResident(residentID);
 }
Example #8
0
 public static bool DeleteMedicationTime(int medicationTimeID)
 {
     SqlMedicationTimeProvider sqlMedicationTimeProvider = new SqlMedicationTimeProvider();
     return sqlMedicationTimeProvider.DeleteMedicationTime(medicationTimeID);
 }