using System using System Collections Generic using System Text using

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
using System;
using System.Collections.Generic;
using System.Text;
using RMS.Presentation.Generic;
using RMS.Entities;
namespace RMS.Presentation
{
public class ApartmentPresenter
{
IApartmentView _view;
public ApartmentPresenter(IApartmentView view)
{
_view = view;
}
public void UpdateView(Apartment apartment)
{
_view.RealtyObjectInfo.SetObject(apartment);
_view.LivingRealtyInfo.SetObject(apartment);
//_view.Basement = apartment.Basement;
_view.Benefit = apartment.Benefit;
_view.CorridorArea = apartment.CorridorArea;
//_view.Garret = apartment.Garret;
//_view.Lift = apartment.Lift;
//_view.RoomsOrientation = apartment.RoomsOrientation;
}
}
}