public async Task DeleteChargeOnlyAsync(Charge charge) { await DeleteTagRelationshipsAsync(charge.Id); if (charge.ParentId is not null) { await _noteService.RemoveChildParentHistoryNoteAsync(charge); } await _chargeService.DeleteAsync(charge.Id); }
public async Task DeleteChargeOnlyAsync(Charge charge) { await DeleteTagRelationshipsAsync(charge.Id); if (charge.ParentId is not null) { await _noteService.RemoveChildParentHistoryNoteAsync(charge); } await _chargeService.DeleteAsync(charge.Id); }