static async listAllData(req, res, next){
		let { offset, limit } = req.query;

		try {

			let offsets = parseInt(offset) || 0;
			let limits = parseInt(limit) || 11;

			let { count, rows: datas }  = await notification.findAndCountAll({
				offset: offsets,
				limit: limits,
			});
			baseResponse({ message: "list notification", data: { datas, count }})(res, 200);
			Logger(req);
		} catch (error) {
			res.status(403);
			next(error);
		}
	}
// list all data notification  is not READ!
list all data notification  is not READ!
list all data notification is not READ!
static async listAllData(req, res, next){
		let { offset, limit } = req.query;
		try {
			let offsets = parseInt(offset) || 0;
			let limits = parseInt(limit) || 11;
			let { count, rows: datas }  = await notification.findAndCountAll({
				offset: offsets,
				limit: limits,
			});
			baseResponse({ message: "list notification", data: { datas, count }})(res, 200);
			Logger(req);
		} catch (error) {
			res.status(403);
			next(error);
		}
	}
static async listAllData ( req , res , next ) { let { offset , limit } = req . query ; try { let offsets = parseInt ( offset ) || 0 ; let limits = parseInt ( limit ) || 11 ; let { count , rows : datas } = await notification . findAndCountAll ( { offset : offsets , limit : limits , } ) ; baseResponse ( { message : "list notification" , data : { datas , count } } ) ( res , 200 ) ; Logger ( req ) ; } catch ( error ) { res . status ( 403 ) ; next ( error ) ; } }
list all data notification  is not READ!
list all data notification is not READ!