public async Task <CommentDeleteResponse> Delete(CommentDeleteRequest request) { //foreach (var id in request.Ids) //{ // var deleting = _commentData.Query.First(x => x.Id == id); // await base.BaseBeforeDeleteAsync(deleting, request.RequestOwner); // await _commentData.DeleteAsync(id); // await base.BaseAfterDeleteAsync(deleting, request.RequestOwner); //} await _commentData.DeleteAsync(request.Ids); return(new CommentDeleteResponse() { Access = ResponseAccess.Granted }); }