Beispiel #1
0
 private Employee GetDbEmployee(string id)
 {
     ReflectionLogger.LogMethod();
     //Retrive employee from db
     return(new Employee {
         Name = "Steven DB"
     });
 }
Beispiel #2
0
 public DbEmployee(string id)
 {
     ReflectionLogger.LogMethod();
     Employee = GetDbEmployee(id);
 }