Beispiel #1
0
        public async Task DeleteAsync(int Id)
        {
            var entity = await _orderDetailsRepository.GetAsync(Id);

            if (entity == null)
            {
                return;
            }

            await _orderDetailsRepository.DeleteAsync(Id);
        }
Beispiel #2
0
 public async Task DeleteAsync(int id)
 {
     await orderDetailsRepository.DeleteAsync(id);
 }