Ejemplo n.º 1
0
        public LoansBatchRunner(ISessionStorage store, ISystemService system, ILoanTrackingService main, IEmployeeService employeeService) : base(system, main)
        {
            this.SessionStore = store;
            SessionHelper h = new SessionHelper(store, new APIKeyBasedTokenGenerator());

            ids = new Dictionary <string, string>();
            idc = new Dictionary <string, string>();
            this._employeeService = employeeService;
            BatchStatus           = new BatchOperationStatus()
            {
                classId = ClassId.LTLR, processed = 0, tableSize = 0, status = 0
            };
            errors = new List <Loan>();
        }