Exemple #1
0
 public User GetUserById(int id)
 {
     using (UserConnection db = new UserConnection())
     {
         log.Info(String.Concat("User with id: ", id, " requested").WithDate());
         return(db.GetUserById(id));
     }
 }