Beispiel #1
0
 public bool DeleteRound(Round round)
 {
     if (round == null) return false;
     _unitOfWork.RoundRepository.Delete(round);
     _unitOfWork.Save();
     return true;
 }
Beispiel #2
0
 public bool EditRound(Round round)
 {
     _unitOfWork.RoundRepository.Edit(round);
     _unitOfWork.Save();
     return true;
 }
Beispiel #3
0
 public bool AddRound(Round round)
 {
     _unitOfWork.RoundRepository.Add(round);
     _unitOfWork.Save();
     return true;
 }