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; }
public AgencyInterpretersListItemViewModel(AgencyInterpreter interpreterModel) { Employee = interpreterModel; }