add a generic saveFromPost() method to ModelController