public Task DeleteAsync(Guid id)
 {
     return(_commentAppService.DeleteAsync(id));
 }
Exemple #2
0
 public async Task Delete(Guid id)
 {
     await _commentAppService.DeleteAsync(id);
 }
        public async Task Should_Delete_A_Comment()
        {
            var comment = (await _commentRepository.GetListAsync()).First();

            await _commentAppService.DeleteAsync(comment.Id);
        }
 public Task DeleteAsync(Guid id)
 {
     return(_service.DeleteAsync(id));
 }