public List <Cheque> GetChequesPack(int lastChequeCount)
 {
     try
     {
         return(_reposytory.GetChequesPack(lastChequeCount));
     }
     catch (Exception ex) { MyLogger.Log.Error($"Cant getting Cheques from repository {ex}"); return(null); }
 }
 public List <ChequeDTO> GetCheques(int count)
 {
     _logger.LogInformation("Get cheques");
     return(_chequeRepository.GetChequesPack(count));
 }
Esempio n. 3
0
 public List <Cheque> GetCheques(int count)
 {
     return(_chequeRepository.GetChequesPack(count));
 }
Esempio n. 4
0
 /// <summary>
 /// Полученияе списка чеков
 /// </summary>
 /// <param name="packSize">Размер</param>
 /// <returns>Список чеков</returns>
 public List <Cheque> GetChequesPack(int packSize) => chequeRepository.GetChequesPack(packSize);