private async Task LoadReports() { var reports = await _bugEndpoint.GetAll(); reports = reports.Where(x => x.StatusName == "Closed").ToList(); Reports = new BindingList <BugDisplayModel>(reports); }
private async Task LoadReports() { var reports = await _bugEndpoint.GetAll(); reports = reports.Where(x => x.AssignedUserMail == _loggedUser.EmailAddress && x.StatusName != "Closed").ToList(); Reports = new BindingList <BugDisplayModel>(reports); }
private async Task RefreshReport() { var reportList = await _bugEndpoint.GetAll(); Report = reportList.Where(x => x.Id == Report.Id).FirstOrDefault(); }