PWA Fundvelo der Caritas.
Du kannst nicht mehr als 25 Themen auswählen Themen müssen mit entweder einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.

ReportDataProvider.cs 635B

12345678910111213141516171819202122232425
  1. using cwebplusApp.Shared.Models;
  2. namespace cwebplusApp.Shared.Services {
  3. public class ReportDataProvider {
  4. public Report Report { get; set; }
  5. public ReportRepositoryItem ReportRepositoryItem { get; set; }
  6. public FoundReport GetFoundReport() {
  7. if (Report is FoundReport) {
  8. return (FoundReport)Report;
  9. }
  10. return null;
  11. }
  12. public MissingReport GetMissingReport() {
  13. if (Report is MissingReport) {
  14. return (MissingReport)Report;
  15. }
  16. return null;
  17. }
  18. }
  19. }