コード例 #1
0
 public virtual ActionResult Index()
 {
     return(ThrowIfNotLoggedIn(() => TryExecute(() =>
     {
         var journal = _journelService.GetAllAccounts(WebUser.TenantId);
         var nonTransactionAccounts = _journelService.NonTransactionAccount(WebUser.TenantId).ToList();
         var vm = new { Contras = journal, PayingAccountHeads = nonTransactionAccounts };
         return vm;
     })));
 }