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.

IBicycleRestService.cs 979B

123456789101112131415161718192021222324252627282930313233
  1. using cwebplusApp.Shared.Models;
  2. using Microsoft.Extensions.Configuration;
  3. using System.Collections.Generic;
  4. using System.Threading.Tasks;
  5. namespace cwebplusApp.Shared.Services {
  6. public interface IBicycleRestService {
  7. void Initialize(IConfiguration configuration);
  8. Task<List<ColorItem>> GetColors();
  9. Task<List<BicycleType>> GetBicycleTypes();
  10. Task<List<Brand>> GetBrands();
  11. Task<List<SearchService>> GetSearchServices();
  12. Task<ReportResponse> SendFoundReport(Report report);
  13. Task<ReportResponse> SendFoundReport(FoundReportRepositoryItem reportRepositoryItem);
  14. Task<ReportResponse> SendMissingReport(Report report);
  15. Task<ReportResponse> SendMissingReport(MissingReportRepositoryItem reportRepositoryItem);
  16. Task<int> TrySendPendingReports();
  17. Task<int> TrySendFoundPendingReports();
  18. Task<int> TrySendMissingPendingReports();
  19. }
  20. }