public ApartmentsController(IApartmentsService apartmentsService, IEntrancesService entrancesService, IPaymentsService paymentsService) { this.apartmentsService = apartmentsService; this.entrancesService = entrancesService; this.paymentsService = paymentsService; }
public EntrancesController(IEntrancesService entrancesService, IBuildingsService buildingsService) { this.entrancesService = entrancesService; this.buildingsService = buildingsService; }