public PartialViewResult GetTransactionsPage() { LoggingService.Info(GetType()); if (rulesEngineService.IsCustomerPaymentsEnabled()) { string partialView = paymentProviderFactory.GetTransactionsPartialView( UmbracoContext, false); return(PartialView(partialView)); } return(default(PartialViewResult)); }
public PartialViewResult GetTransactionsPage() { LoggingService.Info(GetType()); if (rulesEngineService.IsCustomerPaymentsEnabled()) { string partialView = paymentProviderFactory .GetTransactionsPartialView(UmbracoContext, true); IEnumerable <TransactionViewModel> viewModels = paymentManager.GetTransactionsViewModel(UmbracoContext); return(PartialView(partialView, viewModels)); } return(default(PartialViewResult)); }