Exemplo n.º 1
0
        public CompanyMeetingPage(CompanyMeetingDTO dto)
        {
            InitializeComponent();
            BindingContext = new CompanyMeetingViewModel(dto);

            this.SetBackText();
        }
Exemplo n.º 2
0
        private static CompanyMeetingDTO Create(CompanyMeeting activity)
        {
            var dto = new CompanyMeetingDTO();

            Load(dto, activity);

            dto.CalID      = activity.CalID;
            dto.Categories = activity.Categories;
            dto.ConvoID    = activity.ConvoID;
            dto.GlobalID   = activity.GlobalID;
            dto.IsDirect   = activity.IsDirect;
            dto.Organiser  = activity.Organiser;
            dto.Skipped    = activity.Skipped;

            return(dto);
        }
Exemplo n.º 3
0
        private static CompanyMeeting Create(CompanyMeetingDTO dto)
        {
            var activity = new CompanyMeeting();

            Load(activity, dto);

            activity.CalID      = dto.CalID;
            activity.Categories = dto.Categories;
            activity.ConvoID    = dto.ConvoID;
            activity.GlobalID   = dto.GlobalID;
            activity.IsDirect   = dto.IsDirect;
            activity.Organiser  = dto.Organiser;
            activity.Skipped    = dto.Skipped;

            return(activity);
        }
Exemplo n.º 4
0
 public CompanyMeetingViewModel(CompanyMeetingDTO model) : base(model)
 {
     _model = model;
 }