| 12345678910111213141516171819202122232425 |
- using cwebplusApp.Shared.Models;
-
- namespace cwebplusApp.Shared.Services {
- public class ReportDataProvider {
-
- public Report Report { get; set; }
- public ReportRepositoryItem ReportRepositoryItem { get; set; }
-
-
- public FoundReport GetFoundReport() {
- if (Report is FoundReport) {
- return (FoundReport)Report;
- }
- return null;
- }
-
- public MissingReport GetMissingReport() {
- if (Report is MissingReport) {
- return (MissingReport)Report;
- }
- return null;
- }
-
- }
- }
|