Пример #1
0
        public PhoneCallPage(PhoneCallDTO dto)
        {
            InitializeComponent();
            BindingContext = new PhoneCallViewModel(dto);

            this.SetBackText();
        }
Пример #2
0
        private static PhoneCallDTO Create(PhoneCall activity)
        {
            var dto = new PhoneCallDTO();

            Load(dto, activity);

            dto.Analyst   = activity.Analyst;
            dto.TimeTaken = activity.TimeTaken;

            return(dto);
        }
Пример #3
0
        private static PhoneCall Create(PhoneCallDTO dto)
        {
            var activity = new PhoneCall();

            Load(activity, dto);

            activity.Analyst   = dto.Analyst;
            activity.TimeTaken = dto.TimeTaken;

            return(activity);
        }