Основные методы
Основные методы
Основные методы
Основные методы
// GET: Alarma public async Task <IActionResult> Index() { try { ViewBag.CantidadAlarmas = (await productoRepository.GetCantidadAlarmas()).Cantidad; return(View(await productoRepository.GetAllAlarma())); } catch (Exception e) { return(StatusCode((int)System.Net.HttpStatusCode.Unauthorized, e.Message)); //return Unauthorized(e.Message); } }