Пример #1
0
 private void LoadMembers()
 {
     Members = new ObservableCollection <TeamMember>(_timesheetMemberService.GetActiveMembers());
     if (Members != null && _identityService.CurrentMember != null)
     {
         SelectedMember = Members.First(m => m.Email == _identityService.CurrentMember.Email);
     }
 }
        private void GetActiveMembers()
        {
            var request = _timesheetMemberService.GetActiveMembers();

            Members = new List <TeamMember>(request);
        }
Пример #3
0
 public EmailModalViewModel(ITimesheetMemberService timesheetMemberService)
 {
     _timesheetMemberService = timesheetMemberService;
     Members       = new ObservableCollection <TeamMember>(_timesheetMemberService.GetActiveMembers());
     FinishCommand = new DelegateCommand(RequestFinishInteraction);
 }