public ActionResult DeleteDialectoById(DialectoVM dialectoVM)
        {
            int idPersonal = SessionPersister.AccountSession.IdPersonal;
            IdiomaDialectoDomainModel idiomaDialectoDM = IdialectoIdiomaBusiness.GetDialectoPersonales(dialectoVM.IdDialecto, idPersonal);

            if (idiomaDialectoDM != null)
            {
                IdialectoIdiomaBusiness.DeleteDialectoDialectos(idiomaDialectoDM);
            }

            return(View(Create()));
        }
        public ActionResult GetDialectoById(int idDialecto)
        {
            int idPersonal = SessionPersister.AccountSession.IdPersonal;

            DialectoDomainModel dialectoDM = dialectoBusiness.GetDialecto(idDialecto, idPersonal);

            if (dialectoDM != null)
            {
                DialectoVM dialectoVM = new DialectoVM();
                AutoMapper.Mapper.Map(dialectoDM, dialectoVM);
                return(PartialView("_Eliminar", dialectoVM));
            }

            return(View());
        }