public ActionResult Get_one_order(int id) { if (logic_operations.Get_one_order(id) is null) { return(NotFound()); } return(Ok(logic_operations.Get_one_order(id))); }
public ActionResult Get_one_order(int id) { if (logic_operations.Get_one_order(id) is null) { return(NotFound()); } return(Ok(new { status = 200, message = logic_operations.Get_one_order(id) })); }