I need to assign values from one model to another only if values aren\'t null.
How can I simplify the code below? What pattern should I use?
DatabaseModel