public void SaveCycleData(Sum_StudyFactDateCycle obj) { if (obj.Sdc_Id > 0) { DateCycleRepository.Update(obj); } else { DateCycleRepository.Add(obj); } }
public void UpdateCycleData(Sum_StudyFactDateCycle obj) { DateCycleRepository.Update(obj); }