Beispiel #1
0
        public AgencyEmployeeProfileViewModel(AgencyInterpreter employee, AgencyInterpretersListViewModel parentViewModel)
        {
            _employee        = employee;
            _agencyId        = parentViewModel.AgencyId;
            _parentViewModel = parentViewModel;

            DeleteCommand = new Command(async() => await ExecuteDeleteEmployeeCommandAsync());
        }
        public EmployeeProfilePage(AgencyInterpreter employee, AgencyInterpretersListViewModel parentViewModel)
        {
            InitializeComponent();

            VM = new AgencyEmployeeProfileViewModel(employee, parentViewModel);
            this.BindingContext = VM;

            this.Title = VM.UserName;
        }
Beispiel #3
0
 public AgencyInterpretersListItemViewModel(AgencyInterpreter interpreterModel)
 {
     Employee = interpreterModel;
 }