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