PWA Fundvelo der Caritas.
Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

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