public async Task DeleteAsync()
        {
            // Act
            await _bookAppService.DeleteAsync(Guid.Parse("682c0b6a-1d72-4094-b180-cea1dab40ed5"));

            // Assert
            var result = await _bookRepository.FindAsync(c => c.Id == Guid.Parse("682c0b6a-1d72-4094-b180-cea1dab40ed5"));

            result.ShouldBeNull();
        }
Пример #2
0
 public Task DeleteAsync(Guid id)
 {
     return(_bookAppService.DeleteAsync(id));
 }
Пример #3
0
 public Task DeleteAsync(Guid id)
 {
     return(_service.DeleteAsync(id));
 }