Beispiel #1
0
        public async Task <IList <DepositDto> > GetSomeDeposits([FromBody] DepositDto model)
        {
            var location = GetControllerActionNames();
            IList <DepositDto> resultData = null;

            try
            {
                resultData = await _npRepo.GetSomeDeposits(model.Branch, model.Date_Open.ToString("dd.MM.yyyy"), model.Code_Subject, model.File_Name, model.Currency_Code, model.Account_Type);
            }
            catch (Exception e)
            {
                _logger.LogWarn($"{location}: {e.Message} - {e.InnerException}");
            }
            return(resultData);
        }