コード例 #1
0
        public async Task <ServiceResult> Delete(string deliveryId)
        {
            var result = await _repository.DeleteItem(deliveryId);

            return(result.Success ? ServiceResult.Succeeded() : result);
        }