예제 #1
0
        public static void UpdateResearchTableFromOrigenBankFile(string uploadedFile, string disposition)
        {
            CheckManager.Init();

            List <Check> excelChecks    = CheckManager.GetExcelChecks(uploadedFile, disposition);
            List <Check> researchChecks = CheckManager.GetResearchChecks();

            List <CheckViewModel> resolvedChecks = CheckManager.GetResolvedChecks(excelChecks, disposition, researchChecks);

            CheckManager.ResolveResearchChecks(resolvedChecks);

            // Resolving pocket checks is simply a matter of deleting any pocket check
            // whose corresponding research check has been resolved by the preceding call.
            CheckManager.ResolvePocketChecks(resolvedChecks);
        }