In this example I’ve been learning about the separation of a program into layers. Along with doing some simple site database and Entity framework tasks. In this example there are the following layers. A presentation layer, a domain layer, a data transfer layer (DTO for short), and a persistence layer. The flow of the program is the presentation layer makes calls to the domain layer. The domain layers might do some work, if not, then the domain layer will make calls to the persistence layer. The data transfer layers job is to only transfer data from the persistence layer to the domain layer.