Beispiel #1
0
 private void Load(MemberMessage message)
 {
     Message          = message;
     message.Text     = "Sample text";
     DayOffRequestsVM = new DayOffRequestsViewModel(Context, message);
     RoleRequestsVM   = new RoleRequestsViewModel(Context, message);
 }
Beispiel #2
0
 private void LoadUserInfo()
 {
     DayOffRequestsVM = new DayOffRequestsViewModel(Context, _member);
     RoleRequestsVM   = new RoleRequestsViewModel(Context, _member);
     RoleAssignments  = (
         from assign in Context.RoleAssignments
         where assign.MemberId == _member.Id
         select assign).ToList();
 }