Exemplo n.º 1
0
        public PartialViewResult TicketTable(string bankName, [FromQuery] DateTime tableDate)
        {
            if (tableDate == null)
            {
                tableDate = DateTime.Now;
            }
            if (string.IsNullOrWhiteSpace(bankName))
            {
                bankName = "CNB";
            }

            DataTable table = _presentationManager.GetTicketTableData(bankName, tableDate);

            return(PartialView(viewName: "~/Views/ExchangeRate/Table.cshtml", model: table));
        }