Beispiel #1
0
 public void DeleteAccreditationBody(AccreditationBody accreditationBody)
 {
     _unitOfWork.AccreditationBodyRepository.Add(accreditationBody);
     _unitOfWork.AccreditationBodyRepository.Delete(accreditationBody);
     _unitOfWork.SaveChanges();
 }
Beispiel #2
0
 public void UpdateAccreditationBody(AccreditationBody accreditationBody)
 {
     _unitOfWork.AccreditationBodyRepository.Update(accreditationBody);
     _unitOfWork.SaveChanges();
 }