public async Task <ActionResult <Orders> > GetOrderByCust(int id) { var order = await _repo.SelectByCustId(id); if (order == null) { return(NotFound()); } return(order); }