Esempio n. 1
0
 public void SaveCycleData(Sum_StudyFactDateCycle obj)
 {
     if (obj.Sdc_Id > 0)
     {
         DateCycleRepository.Update(obj);
     }
     else
     {
         DateCycleRepository.Add(obj);
     }
 }
Esempio n. 2
0
 public List <Sum_StudyFactDateCycle> GetCycleDatasByStudent(int studentId, int classId)
 {
     return(DateCycleRepository.GetByStudent(studentId, classId));
 }
Esempio n. 3
0
        public Sum_StudyFactDateCycle GetCycleData(int studentId, int classId, DateTime asOfDate, DateCycleTypeEnum cycle)
        {
            Sum_StudyFactDateCycle daily = DateCycleRepository.GetByStudentDate(studentId, classId, asOfDate, cycle);

            return(daily);
        }
Esempio n. 4
0
 public void UpdateCycleData(Sum_StudyFactDateCycle obj)
 {
     DateCycleRepository.Update(obj);
 }