Пример #1
0
 public ApartmentsController(IApartmentsService apartmentsService, IEntrancesService entrancesService, IPaymentsService paymentsService)
 {
     this.apartmentsService = apartmentsService;
     this.entrancesService  = entrancesService;
     this.paymentsService   = paymentsService;
 }
Пример #2
0
 public EntrancesController(IEntrancesService entrancesService, IBuildingsService buildingsService)
 {
     this.entrancesService = entrancesService;
     this.buildingsService = buildingsService;
 }