PWA Fundvelo der Caritas.
Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.

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. }