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