While most restaurants can no longer sell their food to customers, they may not need to throw it in the trash.