public ActionResult <List <ProductDTO> > FindByCate(int cateId) { if (cateId <= 0) { return(BadRequest()); } // var re = GetListProducts(); if (re == null) { return(Problem(statusCode: 500, detail: "Data not exist")); } return(_productModel.FindByCate(re, cateId)); }