Beispiel #1
0
        private void GetReports()
        {
            Reports.Clear();

            var result = client.GetActiveReports();

            foreach (var item in result)
            {
                Reports.Add(new ReportVm()
                {
                    Id           = item.ReportId,
                    ReportedBy   = item.FirstNameReportingUser + " " + item.LastNameReportingUser,
                    PictureOwner = item.FirstNameOwner + " " + item.LastNameOwner,
                    PictureId    = item.PicId,
                    Comment      = item.Comment
                });
            }
        }