Exemplo n.º 1
0
 public MainViewModel(ICitizenService citizensService, ICitizensRepository citizensRepository)
 {
     _citizensRepository = citizensRepository;
     _citizensService    = citizensService;
 }
Exemplo n.º 2
0
 public CitizensViewModel(ICitizensRepository citizensRepository)
 {
     _citizensRepository = citizensRepository;
 }
Exemplo n.º 3
0
 public void SetUp()
 {
     defaultRepository = new CitizensRepository(new DataServiceStub());
     emptyRepository   = new CitizensRepository(new EmptyDataServiceStub());
 }
Exemplo n.º 4
0
 public ImportExportService(ICitizensRepository repository)
 {
     _repository = repository;
 }
Exemplo n.º 5
0
 public CitizensService(ICitizensRepository repository)
 {
     _repository = repository;
 }
Exemplo n.º 6
0
 public CitizensController(ICitizensRepository citizen)
 {
     _citizen = citizen;
 }