/// <summary>
        /// Method to get tender summary
        /// </summary>
        /// <param name="updatedTenders">Updated summary</param>
        /// <returns>Tender summary model</returns>
        private TenderSummaryModel GetTenderSummary(Tenders updatedTenders)
        {
            var    selectedTenders         = updatedTenders.Where(t => t.Amount_Entered != 0);
            string issueStoreCreditMessage = string.Empty;

            if (updatedTenders.EnableCompletePayment)
            {
                issueStoreCreditMessage = _tenderManager.IssueStoreCredit(updatedTenders);
            }
            var tenderSummary = TenderMapper.GetTenderSummaryModel(updatedTenders, issueStoreCreditMessage, selectedTenders);

            return(tenderSummary);
        }
        /// <summary>
        /// Method to create update cash drop model
        /// </summary>
        /// <param name="updatedTenders">Updated tenders</param>
        /// <returns>Update cash drop model</returns>
        private UpdateCashDropResponseModel GetUpdatedTenders(Tenders updatedTenders)
        {
            var newTenders = updatedTenders.Where(u => u.Amount_Entered != 0);

            var response = new UpdateCashDropResponseModel
            {
                Tenders = newTenders.Select(tender => new TenderResponseModel
                {
                    TenderCode    = tender.Tender_Code,
                    TenderName    = tender.Tender_Name,
                    AmountEntered =
                        tender.Amount_Entered == 0 ? "" : tender.Amount_Entered.ToString(Constants.CurrencyFormat),
                    AmountValue  = tender.Amount_Used == 0 ? "" : tender.Amount_Used.ToString(Constants.CurrencyFormat),
                    MaximumValue = tender.MaxAmount,
                    MinimumValue = tender.MinAmount,
                    Image        = tender.Image
                }).ToList(),
                TenderedAmount = updatedTenders.Tend_Totals.Tend_Used.ToString(Constants.CurrencyFormat)
            };

            return(response);
        }