Ejemplo n.º 1
0
        public void LoadDetails(SchoolView item)
        {
            Students.Clear();

            if (item is null)
            {
                return;
            }
            students.FixedFilter = GetMember.Name <StudentData>(x => x.SchoolId);
            students.FixedValue  = item.Id;
            var list = students.Get().GetAwaiter().GetResult();

            foreach (var e in list)
            {
                Students.Add(StudentViewFactory.Create(e));
            }
        }
Ejemplo n.º 2
0
 protected internal override StudentView ToView(Student obj)
 {
     return(StudentViewFactory.Create(obj));
 }
Ejemplo n.º 3
0
 protected internal override Student ToObject(StudentView view)
 {
     return(StudentViewFactory.Create(view));
 }