public void DeleteLaboratory(LaboratoryModel laboratoryModel) { _iLaboratoryRepository.Delete(_iLaboratoryMapper.Map(laboratoryModel).LabNumber); _iLaboratoryRepository.SaveChanges(); }
public void DeleteLaboratory(int id) { labRepo.Delete(labRepo.GetById(id)); }
public void DeleteLaboratory(LaboratoryModel laboratoryModel) { laboratoryRepository.Delete(laboratoryModel.ID); }