public async Task <ServiceResult> Delete(string deliveryId) { var result = await _repository.DeleteItem(deliveryId); return(result.Success ? ServiceResult.Succeeded() : result); }