Exemplo n.º 1
0
 internal Address GetById(long id, PcsAddressFilterQuery filter)
 {
     try
     {
         return(DAOWorker.PcsAddressDAO.GetById(id, filter.Query()));
     }
     catch (Exception ex)
     {
         LogSystem.Error(ex);
         param.HasException = true;
         return(null);
     }
 }
Exemplo n.º 2
0
 internal List <Address> Get(PcsAddressFilterQuery filter)
 {
     try
     {
         return(DAOWorker.PcsAddressDAO.Get(filter.Query(), param));
     }
     catch (Exception ex)
     {
         LogSystem.Error(ex);
         param.HasException = true;
         return(null);
     }
 }