Пример #1
0
 public bool Duplicate(Appointment appointment)
 {
     if (_repository.DuplicateBsonId(appointment) == true)
     {
         _repository.Delete(appointment);
         return(true);
     }
     return(false);
 }