Exemplo n.º 1
0
        public IActionResult Ips()
        {
            var model = new IpsViewModel();

            model.Ips = _servicesAmbulance.GetAllIps().ToList();

            return(View(model));
        }
Exemplo n.º 2
0
        public IActionResult Index()
        {
            var model = new IndexVideModel
            {
                Ambulances = _servicesAmbulance.GetAllAmbulances(),
                Ips        = _servicesAmbulance.GetAllIps(),
                Services   = _servicesAmbulance.GetAllServices()
            };

            return(View(model));
        }