public PersonaController(IConfiguration configuration, IWebHostEnvironment environment) { this.configuration = configuration; this.environment = environment; this.repositorio = new RepositorioPersona(configuration); this.repositorioTipoPersona = new RepositorioTipoPersona(configuration); this.utils = new Utils(configuration, environment); }
public void MyTestInitialize() { _repositorio = new PersonaRepositorio(); _nombreAModificar = "personaTestModificado"; _model = new Persona() { Nombre = "nombreTest", Apellido = "apellidoTest", Email = "*****@*****.**", Estatus = "Activo", FechaNacimiento = System.Convert.ToDateTime("01/01/2010"), Nickname = "nicknameTest", Privacidad = "Publico", Twitter = "nicknameTest" }; }
public HomeController(IRepositorioPersona repositorioPersona, ILogger logger) : base(repositorioPersona, logger) { }
public BaseController(IRepositorioPersona repositorioPersona, ILogger logger) { _repositorioPersona = repositorioPersona; _logger = logger; }
public void MyTestCleanup() { _repositorio = null; _model = null; }
public ReconocimientoController(IRepositorioPersona repositorioPersona, ILogger logger) : base(repositorioPersona, logger) { }
//public HomeController(ILogger<HomeController> logger) //{ // _logger = logger; //} public HomeController(IConfiguration configuration) { this.configuration = configuration; this.repositorio = new RepositorioPersona(configuration); }
public PersonaLN(IRepositorioPersona repositorio) { DominioPersona = repositorio; }//Fin del constructor.