public void EditIdentificationType(IdentificationType identificationType) { _databaseModel.Entry(identificationType).State = EntityState.Modified; _databaseModel.SaveChanges(); }
private void EditIdentificationType(IdentificationType identificationType) { _identificationTypesRepository.EditIdentificationType(identificationType); }
public void AddIdentificationType(IdentificationType identificationType) { _databaseModel.IdentificationType.Add(identificationType); _databaseModel.SaveChanges(); }
private void AddIdentificationType(IdentificationType identificationType) { _identificationTypesRepository.AddIdentificationType(identificationType); }