public async Task Delete(Guid id) { await _postAppService.DeleteAsync(id); }
public Task DeleteAsync(Guid id) { return(_postAppService.DeleteAsync(id)); }
public async Task Should_Delete_A_Post() { var post = (await _postRepository.GetListAsync()).First(); await _postAppService.DeleteAsync(post.Id); }