PWA Fundvelo der Caritas.
選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。

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