コード例 #1
0
        public async Task <IActionResult> Index()
        {
            var gEPAMEContext = new LN_Utilidades().GetTopIncidences(_context);

            ViewData["Vehicle"] = new LN_Utilidades().GetActiveVehicles(_context);
            return(View(await gEPAMEContext.ToListAsync()));
        }
コード例 #2
0
        private string GetSiguienteID(string tipoIncidencia)
        {
            string id = "";

            id = new LN_Utilidades().GetSiguienteIDIncidencia(_context, tipoIncidencia);

            return(id);
        }
コード例 #3
0
        public async Task <IActionResult> IndexVehicle()
        {
            var gEPAMEContext = new LN_Utilidades().GetActiveVehicles(_context);

            return(PartialView(await gEPAMEContext.ToListAsync()));
        }