public PublicacionPageModel() { _candidatoService = new CandidatosServices(); _gruposService = new GruposServices(); _archivosService = new ArchivosServices(); _administracionService = new AdministracionServices(); _categoriasService = new CategoriasServices(); _dateTimeHelper = FreshIOC.Container.Resolve <IDateTimeHelper>(); }
public BuscadorPerfilesPageModel() { _candidatoServices = new CandidatosServices(); _gruposServices = new GruposServices(); _administracionServices = new AdministracionServices(); _dateTimeHelper = FreshIOC.Container.Resolve <IDateTimeHelper>(); _minimaAltura = 130; _minimoPeso = 20; _maximaAltura = 220; _maximoPeso = 120; _maximaEdad = 80; }
public async Task AdministracionServices_CrearPais_ShouldCreate() { AdministracionServices adminServices = new AdministracionServices(); PaisesDTO paisParaBuscar = new PaisesDTO { Consecutivo = 1 }; WrapperSimpleTypesDTO wrapper = await adminServices.CrearPais(paisParaBuscar); Assert.IsNotNull(wrapper); Assert.IsTrue(wrapper.Exitoso); }
public async Task AdministracionServices_BuscarPais_ShouldSearch() { AdministracionServices adminServices = new AdministracionServices(); PaisesDTO paisParaBuscar = new PaisesDTO { Consecutivo = 1 }; PaisesDTO paisBuscado = await adminServices.BuscarPais(paisParaBuscar); Assert.IsNotNull(paisBuscado); Assert.IsNotNull(paisBuscado.Monedas); }
public TerminosCondicionesPageModel() { _administracionService = new AdministracionServices(); }
public PersonaPageModel() { _personaServices = new PersonasServices(); _administracionServices = new AdministracionServices(); _authenticateServices = new AuthenticateServices(); }