const ApiResponse = require("../../utils/apiResponse");
const { asyncHandler } = require("../../middleware/errorHandler");
const adminDashboardService = require("../../services/admin/adminDashboardService");

exports.getOverview = asyncHandler(async (req, res) => {
  const data = await adminDashboardService.getOverview(req.query);
  ApiResponse.success(res, data);
});