예제 #1
0
 public ActionResult EditScheduledTransaction(TransactionsViewModel model)
 {
     if ([email protected])
     {
         return(RedirectToAction("EditScheduledTransaction", "Transaction", new { id = model.TransactionId }));
     }
     try
     {
         _transactionLogic.EditScheduledTransaction(model);
         return(RedirectToAction("Index", "Transaction", new { id = model.AccountId }));
     }
     catch (Exception e)
     {
         Console.WriteLine(e);
         return(RedirectToAction("Index", "Transaction", new { id = model.AccountId })); throw;
     }
 }