PWA Fundvelo der Caritas.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

ReportDataProvider.cs 563B

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