Ejemplo n.º 1
0
 public void UpdateExercise(PhysiotherapyExercise exercise, int id)
 {
     if (id != 0)
     {
         exercise.Id = id;
         _physiotherapyExerciseRepository.Update(exercise, id);
     }
 }
Ejemplo n.º 2
0
 public PhysiotherapyExercise AddExercise(PhysiotherapyExercise exercise)
 {
   return  _physiotherapyExerciseRepository.Add(exercise);
 }