Example #1
0
 public Task DeleteAsync(Guid id)
 {
     return(_commentAppService.DeleteAsync(id));
 }
Example #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);
        }
Example #4
0
 public Task DeleteAsync(Guid id)
 {
     return(_service.DeleteAsync(id));
 }