Beispiel #1
0
        public ActionResult AddEditSector(int?sectorid)
        {
            AddEditSectorViewModel objViewModel = new AddEditSectorViewModel();

            objViewModel.cargarDatos(sectorid);
            return(View(objViewModel));
        }
Beispiel #2
0
        public void D_cargarDatos()
        {
            AddEditSectorViewModel objViewModel = new AddEditSectorViewModel();

            objViewModel.tieneValor = false;
            objViewModel.cargarDatos(null);
            Assert.False(objViewModel.tieneValor);
        }