Example #1
0
 public IEnumerable <User> GetUsersByPostalCode(string postalcode)
 {
     using (UserConnection db = new UserConnection())
     {
         log.Info(String.Concat("Users with postal code: ", postalcode, " requested").WithDate());
         return(db.GetUsersByPostalCode(postalcode));
     }
 }