public ServiceFixtures() { this.partyRepository = new PartyRepository(); this.tableRepository = new TableRepository(); this.arrangerService = new ArrangerService(); this.partyService = new PartyService(partyRepository); this.tableService = new TableService(tableRepository); this.mockData = new MockFixtures(); }
public ArrangementsController(IArrangerService arrangerService, IPartyService partyService, ITableService tableService) { this.arrangerService = arrangerService; this.partyService = partyService; this.tableService = tableService; }