private TransactionSummaryModel SummaryFilling(TransactionSummaryModel summaryEntity) { var failureList = uploadRepository.GetFailuresBySummary(summaryEntity.Id); var transactList = uploadRepository.GetTransactionsBySummary(summaryEntity.Id); summaryEntity.FailureRow = failureList.Count; summaryEntity.SuccessRow = transactList.Count; uploadRepository.Commit(); return(summaryEntity); }