public PersonController() { var context = new MongoContexto(); _repository = new RepositorioPessoas(context); //CarregarListadeTesteDePessoas(); }
public static IRepositoryPerson getInstancePerson() { if (repositoryPerson == null) { repositoryPerson = new RepositoryPerson(); } return(repositoryPerson); }
public ControlPerson() { DomainPersona = new RepositoryPerson(); }
public ServicePerson(IRepositoryPerson RepositoryPerson) : base(RepositoryPerson) { _repositoryPerson = RepositoryPerson; }
public PersonService(IRepositoryPerson repo) : base(repo) { _repo = repo; }
public ServicePerson(IRepositoryPerson repositoryPerson) : base(repositoryPerson) { _repositoryPerson = repositoryPerson; }