public override void OnBeginIndex() { using (var tipoIdentificacionService = new SubTipoIdentificacionService()) { ViewBag.subTipoIdentificacionId = new SelectList(tipoIdentificacionService.GetAll().ToList(), "Id", "Descripcion", null); } }
public TipoIdentificacionController() { SubTipoIdentificacionService = new SubTipoIdentificacionService(); EntityService = new TipoIdentificacionService(); Title = "Tipo Identificación"; }
public SubTipoIdentificacionController() { EntityService = new SubTipoIdentificacionService(); Title = "Tipo Configuración"; }