Пример #1
0
 public void UpdateSportsScienceTest(SportsScienceTest test, int id)
 {
     if (id != 0)
     {
         test.Id = id;
         _sportsScienceTestRepository.Update(test,id);
     }
 }
Пример #2
0
 public SportsScienceTest AddSportsScienceTest(SportsScienceTest test)
 {
     if (test != null)
     {
         return _sportsScienceTestRepository.Add(test);
     }
     return null;
 }