예제 #1
0
        public IActionResult UpdateTariff(int IDNumber)
        {
            TariffBLL tariffBLL = new TariffBLL();
            Tariff    tariff    = tariffBLL.GetTariff(IDNumber);

            if (tariff == null)
            {
                return(NotFound());
            }
            return(View(tariff));
        }
예제 #2
0
        public IActionResult TariffDetails(int id)
        {
            TariffBLL tariffBLL = new TariffBLL();
            Tariff    tariff    = tariffBLL.GetTariff(id);

            if (tariff == null)
            {
                return(NotFound());
            }

            return(View(tariff));
        }