public ActionResult <List <OrderDTO> > GetForCustomer(string userId) { if (DataHelper.IsEmptyString(userId)) { return(BadRequest(new { message = "Date is requried" })); } // var re = _orderModel.GetListDTOsByCustomer(userId); if (re == null || re.Count == 0) { return(Problem(statusCode: 500, detail: "Data not exist")); } return(re); }