Exemple #1
0
        public async Task <IActionResult> DeleteTipo(D00_TBGENERAL modelo)
        {
            try
            {
                TempData["mensajetipo"] = await _generalRepository.DeleteGeneral(modelo);

                return(RedirectToAction("Index"));
            }
            catch
            {
                return(View());
            }
        }