Example #1
0
        public ActionResult BudgetDuplicate()
        {
            DateTime     start       = DateTime.Now;
            Collections  collections = new Collections();
            bool         result      = collections.CollectionCycle();
            DateTime     end         = DateTime.Now;
            AutomatedLog log         = new AutomatedLog();

            log.SaveLog(start, end, "BudgetDuplicate", result);
            return(Ok(result));
        }
Example #2
0
        public async Task <ActionResult> UpdateTransactions()
        {
            DateTime          start             = DateTime.Now;
            AutomatedCashFlow automatedCashFlow = new AutomatedCashFlow();
            bool result = await automatedCashFlow.UpdateTransactions();

            DateTime     end = DateTime.Now;
            AutomatedLog log = new AutomatedLog();

            log.SaveLog(start, end, "UpdateTransactions", result);
            return(Ok(result));
        }
Example #3
0
        public async Task <ActionResult> UpdateAccounts()
        {
            DateTime    start       = DateTime.Now;
            Collections collections = new Collections();
            bool        result      = await collections.YodleeAccountConnect();

            DateTime     end = DateTime.Now;
            AutomatedLog log = new AutomatedLog();

            log.SaveLog(start, end, "UpdateAccounts", result);
            return(Ok(result));
        }
Example #4
0
        public async Task <ActionResult> UpdateYodleeAccounts()
        {
            DateTime           start = DateTime.Now;
            YodleeAccountModel model = new YodleeAccountModel();
            bool result = await model.UpdateYodlee();

            DateTime     end = DateTime.Now;
            AutomatedLog log = new AutomatedLog();

            log.SaveLog(start, end, "UpdateYodleeAccounts", result);
            return(Ok(result));
        }