DNN-5542 Delete all notifications. Refactoring to use shared dto.