Esempio n. 1
0
        public IActionResult UpdateTariff(int IDNumber)
        {
            TariffBLL tariffBLL = new TariffBLL();
            Tariff    tariff    = tariffBLL.GetTariff(IDNumber);

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

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

            return(View(tariff));
        }