public ActionResult CompareResult(string sid, string cfn, string tfn)
        {
            var clientTransactions  = _csvFileReader.GetRecords(_markOffFileProvider.GetMarkOffFile(sid, cfn));
            var bankTransactions    = _csvFileReader.GetRecords(_markOffFileProvider.GetMarkOffFile(sid, tfn));
            IReconcileResult result = _reconcileEngine.Reconcile(clientTransactions, bankTransactions);
            CompareResult    model  = new CompareResult(cfn, tfn, result);

            ViewBag.Title = "Compare Files Result";
            return(View("CompareResult", model));
        }
Пример #2
0
 public void WhenICallGetRecords()
 {
     _parserResult = _csvParser.GetRecords(_content);
 }